2016-11-01 17:28:05 +01:00
|
|
|
tasks.withType(FindBugs) {
|
|
|
|
ignoreFailures = true
|
|
|
|
reports {
|
2018-05-04 16:02:16 +02:00
|
|
|
xml.enabled = false
|
|
|
|
html.enabled = true
|
2016-11-01 17:28:05 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
tasks.withType(Pmd) {
|
|
|
|
ignoreFailures = true
|
|
|
|
reports {
|
|
|
|
xml.enabled = true
|
|
|
|
html.enabled = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tasks.withType(Checkstyle) {
|
|
|
|
ignoreFailures = true
|
|
|
|
reports {
|
|
|
|
xml.enabled = true
|
|
|
|
html.enabled = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sonarqube {
|
|
|
|
properties {
|
|
|
|
property "sonar.projectName", "${project.group} ${project.name}"
|
|
|
|
property "sonar.sourceEncoding", "UTF-8"
|
|
|
|
property "sonar.scm.provider", "git"
|
|
|
|
property "sonar.junit.reportsPath", "build/test-results/test/"
|
|
|
|
}
|
|
|
|
}
|