33apply plugin : ' java'
44apply plugin : ' jacoco'
55apply plugin : ' eclipse'
6- jacoco {toolVersion= " 0.7.4.201502262128" }
6+ jacoco {toolVersion= " 0.7.4.201502262128" }
77
88 sourceCompatibility = " 1.8"
99 targetCompatibility = " 1.8"
@@ -13,13 +13,13 @@ test {
1313 events ' started' ,' passed' , ' skipped'
1414 }
1515
16- tasks. withType(Compile ) {
17- options. encoding = ' UTF-8'
18- }
16+ tasks. withType(Compile ) {
17+ options. encoding = ' UTF-8'
18+ }
1919
20- exclude ' com/marklogic/client/functionaltest/TestSSLConnection.class'
21- exclude ' com/marklogic/client/functionaltest/TestBug18993.class'
22- exclude ' com/marklogic/client/functionaltest/TestDatabaseClientWithKerberos.class'
20+ exclude ' com/marklogic/client/functionaltest/TestSSLConnection.class'
21+ exclude ' com/marklogic/client/functionaltest/TestBug18993.class'
22+ exclude ' com/marklogic/client/functionaltest/TestDatabaseClientWithKerberos.class'
2323}
2424
2525/* The minimal number of tests that run in a sandbox environment */
@@ -31,30 +31,29 @@ task testSandbox(type:Test) {
3131
3232/* The code repositories to consult for dependencies */
3333repositories {
34- mavenLocal()
35- mavenCentral()
36- jcenter()
37- maven {url " http://distro.marklogic.com/nexus/repository/maven-snapshots" }
38- maven { url " http://developer.marklogic.com/maven2" }
39- maven { url " http://repo.maven.apache.org/maven2" }
34+ mavenLocal()
35+ mavenCentral()
36+ jcenter()
37+ maven {url " http://distro.marklogic.com/nexus/repository/maven-snapshots" }
38+ maven { url " http://developer.marklogic.com/maven2" }
39+ maven { url " http://repo.maven.apache.org/maven2" }
4040}
4141
4242jacocoTestReport {
43- group = " Reporting"
44- description = " Generate Jacoco coverage reports after running tests."
45- additionalSourceDirs = files(sourceSets. main. allJava. srcDirs)
46- }
47-
48- dependencies {
49- compile(' com.marklogic:marklogic-client-api:5.0-SNAPSHOT' )
50- compile(' com.marklogic:marklogic-xcc:8.0.6' )
51- compile(' xmlunit:xmlunit:1.5' )
52- compile(' junit:junit:4.11' )
53- compile(' org.skyscreamer:jsonassert:1.2.3' )
54- compile(' org.apache.commons:commons-lang3:3.4' )
55- compile(' org.apache.httpcomponents:httpclient:4.5.3' )
56- compile group : ' org.apache.logging.log4j' , name : ' log4j-api' , version : ' 2.1'
57- compile group : ' org.apache.logging.log4j' , name : ' log4j-core' , version : ' 2.1'
58- compile group : ' org.apache.commons' , name : ' commons-io' , version : ' 1.3.2'
59- }
43+ group = " Reporting"
44+ description = " Generate Jacoco coverage reports after running tests."
45+ additionalSourceDirs = files(sourceSets. main. allJava. srcDirs)
46+ }
6047
48+ dependencies {
49+ compile(' com.marklogic:marklogic-client-api:5.0-SNAPSHOT' )
50+ compile(' com.marklogic:marklogic-xcc:8.0.6' )
51+ compile(' xmlunit:xmlunit:1.5' )
52+ compile(' junit:junit:4.11' )
53+ compile(' org.skyscreamer:jsonassert:1.2.3' )
54+ compile(' org.apache.commons:commons-lang3:3.4' )
55+ compile(' org.apache.httpcomponents:httpclient:4.5.3' )
56+ compile group : ' org.apache.logging.log4j' , name : ' log4j-api' , version : ' 2.1'
57+ compile group : ' org.apache.logging.log4j' , name : ' log4j-core' , version : ' 2.1'
58+ compile group : ' org.apache.commons' , name : ' commons-io' , version : ' 1.3.2'
59+ }
0 commit comments