forked from Speiger/Primitive-Collections
Added Jacoco reports
This commit is contained in:
parent
212ad1ace2
commit
5d6adb5446
|
@ -1,5 +1,6 @@
|
|||
plugins {
|
||||
id 'java-library'
|
||||
id 'jacoco'
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
|
@ -98,6 +99,12 @@ test {
|
|||
useJUnit()
|
||||
}
|
||||
|
||||
jacocoTestReport {
|
||||
reports {
|
||||
xml.enabled true
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
Properties props = new Properties()
|
||||
if(file("$buildDir/credentials.properties").exists()) {
|
||||
|
|
Loading…
Reference in New Issue