Upgrade to Gradle 6.6 and use SpotBugs.

As a result, at least one real bug was fixed! Nice.
This commit is contained in:
Andrew Steinborn
2020-08-21 19:09:04 -04:00
parent d8dba436d6
commit c47d25c88a
27 changed files with 194 additions and 142 deletions

View File

@@ -9,9 +9,12 @@ buildscript {
plugins {
id 'java'
id "com.github.spotbugs" version "4.2.4" apply false
}
allprojects {
apply plugin: "com.github.spotbugs"
group 'com.velocitypowered'
version '1.1.0-SNAPSHOT'
@@ -70,4 +73,14 @@ allprojects {
junitXml.enabled = true
}
}
tasks.withType(com.github.spotbugs.snom.SpotBugsTask) {
reports {
html {
enabled = true
destination = file("$buildDir/reports/spotbugs/main/spotbugs.html")
stylesheet = 'fancy-hist.xsl'
}
}
}
}