forked from n.nasr/skills
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
562 B
26 lines
562 B
jacoco {
|
|
toolVersion = "0.8.5"
|
|
}
|
|
|
|
jacocoTestReport {
|
|
executionData tasks.withType(Test)
|
|
classDirectories.from = files(sourceSets.main.output.classesDirs)
|
|
sourceDirectories.from = files(sourceSets.main.java.srcDirs)
|
|
|
|
reports {
|
|
xml.enabled = true
|
|
}
|
|
}
|
|
|
|
file("sonar-project.properties").withReader {
|
|
Properties sonarProperties = new Properties()
|
|
sonarProperties.load(it)
|
|
|
|
sonarProperties.each { key, value ->
|
|
sonarqube {
|
|
properties {
|
|
property key, value
|
|
}
|
|
}
|
|
}
|
|
}
|