Cleanup.
This commit is contained in:
parent
68ddcd1ccc
commit
a435f0be49
5 changed files with 12 additions and 10 deletions
|
@ -13,8 +13,6 @@ plugins {
|
|||
id 'pmd'
|
||||
}
|
||||
|
||||
import com.github.spotbugs.snom.SpotBugsTask
|
||||
|
||||
defaultTasks 'deploy'
|
||||
|
||||
final def packageName = 'net.thauvin.erik.mobibot'
|
||||
|
@ -88,7 +86,7 @@ spotbugs {
|
|||
toolVersion.set("$versions.spotbugs")
|
||||
}
|
||||
|
||||
tasks.withType(SpotBugsTask) {
|
||||
tasks.withType(com.github.spotbugs.snom.SpotBugsTask) {
|
||||
reports {
|
||||
xml.enabled = false
|
||||
html.enabled = true
|
||||
|
@ -108,6 +106,10 @@ detekt {
|
|||
baseline = file("detekt-baseline.xml")
|
||||
}
|
||||
|
||||
tasks.withType(io.gitlab.arturbosch.detekt.Detekt) {
|
||||
exclude("**/**.java")
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = 'UTF-8'
|
||||
options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/generated/java")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue