2017-05-02 00:52:09 +02:00
|
|
|
tasks.withType(FindBugs) {
|
|
|
|
ignoreFailures = true
|
|
|
|
reports {
|
|
|
|
xml.enabled = false
|
|
|
|
html.enabled = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tasks.withType(Pmd) {
|
|
|
|
ignoreFailures = true
|
|
|
|
reports {
|
|
|
|
xml.enabled = true
|
|
|
|
html.enabled = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tasks.withType(Checkstyle) {
|
|
|
|
ignoreFailures = true
|
|
|
|
reports {
|
|
|
|
xml.enabled = true
|
|
|
|
html.enabled = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
jacocoTestReport {
|
|
|
|
reports {
|
2018-02-28 12:23:52 +01:00
|
|
|
xml.enabled = true
|
|
|
|
csv.enabled = false
|
2017-05-02 00:52:09 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sonarqube {
|
|
|
|
properties {
|
|
|
|
property "sonar.projectName", "${project.group} ${project.name}"
|
|
|
|
property "sonar.sourceEncoding", "UTF-8"
|
2018-02-28 12:23:52 +01:00
|
|
|
property "sonar.tests", "src/test/java"
|
2017-05-02 00:52:09 +02:00
|
|
|
property "sonar.scm.provider", "git"
|
|
|
|
property "sonar.java.coveragePlugin", "jacoco"
|
|
|
|
property "sonar.junit.reportsPath", "build/test-results/test/"
|
|
|
|
}
|
|
|
|
}
|