1234567891011121314151617181920212223242526 |
- jacoco {
- toolVersion = "0.8.7"
- }
- 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
- }
- }
- }
- }
|