-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
62 lines (51 loc) · 1.29 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
apply plugin: 'groovy'
buildscript {
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.0.1'
}
}
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'jacoco'
apply plugin: 'com.github.kt3k.coveralls'
apply plugin: "sonar-runner"
mainClassName = 'org.cethos.tools.ninebatch.NineBatchMain'
sourceCompatibility = 1.6
targetCompatibility = 1.6
allprojects {
version = '1.1.4-SNAPSHOT'
group = 'org.cethos.tools'
ext {
isReleaseVersion = !version.endsWith("SNAPSHOT")
commonsCliVersion = '1.2'
commonsIoVersion = '2.4'
jsonBeansVersion = '0.7'
jUnitVersion = '4.11'
logbackVersion = '1.1.2'
}
repositories {
mavenCentral()
mavenLocal()
}
}
dependencies {
compile "commons-cli:commons-cli:$commonsCliVersion"
compile "commons-io:commons-io:$commonsIoVersion"
compile "com.esotericsoftware:jsonbeans:$jsonBeansVersion"
compile "ch.qos.logback:logback-classic:$logbackVersion"
testCompile "junit:junit:$jUnitVersion"
}
task getVersion << {
println version
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
apply from : 'publish.gradle'