2018-07-10 14:46:31 +02:00
|
|
|
tasks.withType(Checkstyle) {
|
2017-07-24 16:02:50 +02:00
|
|
|
ignoreFailures = true
|
|
|
|
reports {
|
2018-07-10 14:46:31 +02:00
|
|
|
xml.enabled = true
|
2017-07-24 16:02:50 +02:00
|
|
|
html.enabled = true
|
|
|
|
}
|
|
|
|
}
|
2018-07-10 14:46:31 +02:00
|
|
|
tasks.withType(FindBugs) {
|
2017-07-24 16:02:50 +02:00
|
|
|
ignoreFailures = true
|
|
|
|
reports {
|
2018-07-10 14:46:31 +02:00
|
|
|
xml.enabled = false
|
2017-07-24 16:02:50 +02:00
|
|
|
html.enabled = true
|
|
|
|
}
|
|
|
|
}
|
2018-07-10 14:46:31 +02:00
|
|
|
tasks.withType(Pmd) {
|
2017-07-24 16:02:50 +02:00
|
|
|
ignoreFailures = true
|
|
|
|
reports {
|
|
|
|
xml.enabled = true
|
|
|
|
html.enabled = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-10 14:46:31 +02:00
|
|
|
checkstyle {
|
|
|
|
configFile = rootProject.file('config/checkstyle/checkstyle.xml')
|
|
|
|
ignoreFailures = true
|
|
|
|
showViolations = true
|
2017-07-24 16:02:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
sonarqube {
|
|
|
|
properties {
|
|
|
|
property "sonar.projectName", "${project.group} ${project.name}"
|
|
|
|
property "sonar.sourceEncoding", "UTF-8"
|
|
|
|
property "sonar.tests", "src/test/java"
|
|
|
|
property "sonar.scm.provider", "git"
|
|
|
|
property "sonar.junit.reportsPath", "build/test-results/test/"
|
|
|
|
}
|
|
|
|
}
|