Skip to content
Snippets Groups Projects
Commit b3dd174b authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

update Spotbugs

parent 666f707e
No related branches found
No related tags found
1 merge request!490Location updates
...@@ -29,13 +29,13 @@ ...@@ -29,13 +29,13 @@
plugins { plugins {
id "application" id "application"
id "com.diffplug.gradle.spotless" version "3.27.1" id "com.diffplug.gradle.spotless" version "${spotlessVersion}"
id "com.github.spotbugs" version "3.0.0" id "com.github.spotbugs" version "${spotbugsVersion}"
id "com.github.johnrengelman.shadow" version "5.2.0" id "com.github.johnrengelman.shadow" version "${shadowVersion}"
id "com.star-zero.gradle.githook" version "1.2.0" id "com.star-zero.gradle.githook" version "${githooksVersion}"
id "eclipse-wtp" id "eclipse-wtp"
id "jacoco" id "jacoco"
id "net.ltgt.apt-eclipse" version "0.21" id "net.ltgt.apt-eclipse" version "${aptEclipseVersion}"
} }
apply from: "${projectDir}/gradle/ext.gradle" apply from: "${projectDir}/gradle/ext.gradle"
...@@ -59,7 +59,7 @@ repositories { ...@@ -59,7 +59,7 @@ repositories {
git { git {
implementation("https://code.usgs.gov/ghsc/nshmp/nshmp-lib.git", { implementation("https://code.usgs.gov/ghsc/nshmp/nshmp-lib.git", {
name "nshmp-haz-dep--nshmp-lib" name "nshmp-haz-dep--nshmp-lib"
tag "v0.0.5" tag "v0.1.1"
}) })
} }
...@@ -138,10 +138,11 @@ tasks.withType(JavaExec) { ...@@ -138,10 +138,11 @@ tasks.withType(JavaExec) {
} }
/* Add HTML reports to SpotBugs */ /* Add HTML reports to SpotBugs */
tasks.withType(com.github.spotbugs.SpotBugsTask) { tasks.withType(com.github.spotbugs.snom.SpotBugsTask) {
ignoreFailures = false // TODO remove when nshmp-lib is updated
reports { reports {
xml.enabled = false html {
html.enabled = true enabled true
stylesheet = 'fancy-hist.xsl'
}
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment