Skip to content

Commit 2f65ee2

Browse files
georgeajitgeorgeajit
georgeajit
authored and
georgeajit
committed
No Task - Removed JaCoCo for time being for post Java 8. Will need
another version.
1 parent 4d46f57 commit 2f65ee2

File tree

1 file changed

+42
-44
lines changed

1 file changed

+42
-44
lines changed

build.gradle

Lines changed: 42 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,42 @@
1-
subprojects {
2-
apply plugin: 'java'
3-
apply plugin: 'eclipse'
4-
apply plugin: 'jacoco'
5-
jacoco{toolVersion="0.7.4.201502262128"}
6-
7-
configure(allprojects){
8-
ext.slf4jVersion = '1.7.25'
9-
ext.logbackVersion = '1.2.3'
10-
}
11-
tasks.withType(JavaCompile) {
12-
options.encoding = 'UTF-8'
13-
}
14-
sourceCompatibility = "9"
15-
targetCompatibility = "9"
16-
17-
sourceSets {
18-
test.compileClasspath += configurations.compileOnly
19-
test.runtimeClasspath += configurations.compileOnly
20-
}
21-
22-
repositories {
23-
mavenLocal()
24-
mavenCentral()
25-
jcenter()
26-
maven { url "http://repo.maven.apache.org/maven2" }
27-
}
28-
29-
dependencies {
30-
testCompile group: 'junit', name: 'junit', version:'4.12'
31-
testCompile group: 'xmlunit', name: 'xmlunit', version:'1.6'
32-
compileOnly group: 'org.apache.commons', name: 'commons-lang3', version:'3.7'
33-
compileOnly group: 'org.apache.httpcomponents', name: 'httpclient', version:'4.5.3'
34-
}
35-
36-
test {
37-
systemProperty "file.encoding", "UTF-8"
38-
systemProperty "javax.xml.stream.XMLOutputFactory", "com.sun.xml.internal.stream.XMLOutputFactoryImpl"
39-
}
40-
}
41-
42-
task wrapper(type: Wrapper) {
43-
gradleVersion = '4.5.1'
44-
}
1+
subprojects {
2+
apply plugin: 'java'
3+
apply plugin: 'eclipse'
4+
5+
configure(allprojects){
6+
ext.slf4jVersion = '1.7.25'
7+
ext.logbackVersion = '1.2.3'
8+
}
9+
tasks.withType(JavaCompile) {
10+
options.encoding = 'UTF-8'
11+
}
12+
sourceCompatibility = "9"
13+
targetCompatibility = "9"
14+
15+
sourceSets {
16+
test.compileClasspath += configurations.compileOnly
17+
test.runtimeClasspath += configurations.compileOnly
18+
}
19+
20+
repositories {
21+
mavenLocal()
22+
mavenCentral()
23+
jcenter()
24+
maven { url "http://repo.maven.apache.org/maven2" }
25+
}
26+
27+
dependencies {
28+
testCompile group: 'junit', name: 'junit', version:'4.12'
29+
testCompile group: 'xmlunit', name: 'xmlunit', version:'1.6'
30+
compileOnly group: 'org.apache.commons', name: 'commons-lang3', version:'3.7'
31+
compileOnly group: 'org.apache.httpcomponents', name: 'httpclient', version:'4.5.3'
32+
}
33+
34+
test {
35+
systemProperty "file.encoding", "UTF-8"
36+
systemProperty "javax.xml.stream.XMLOutputFactory", "com.sun.xml.internal.stream.XMLOutputFactoryImpl"
37+
}
38+
}
39+
40+
task wrapper(type: Wrapper) {
41+
gradleVersion = '4.5.1'
42+
}

0 commit comments

Comments
 (0)