diff --git a/build.gradle b/build.gradle index 66060fb..1f5a7e2 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,3 @@ -import com.github.spotbugs.SpotBugsTask import net.ltgt.gradle.errorprone.CheckSeverity import org.openstreetmap.josm.gradle.plugin.task.GeneratePluginList @@ -11,8 +10,8 @@ plugins { id "jacoco" id "maven-publish" id "pmd" - id "com.github.ben-manes.versions" version "0.27.0" - id "com.github.spotbugs" version "3.0.0" + id "com.github.ben-manes.versions" version "0.28.0" + id "com.github.spotbugs" version "4.0.5" id "org.openstreetmap.josm" version "0.6.5" id "net.ltgt.errorprone" version "1.1.1" id "com.diffplug.gradle.spotless" version "3.28.1" @@ -45,14 +44,14 @@ def gitlabRepositoryName = "JOSM_MapWithAI" def versions = [ - awaitility: "4.0.1", + awaitility: "4.0.2", errorprone: "2.3.4", jacoco: "0.8.5", jmockit: "1.46", - junit: "5.5.2", + junit: "5.6.2", pmd: "6.20.0", - spotbugs: "4.0.0-beta4", - wiremock: "2.25.1", + spotbugs: "4.0.2", + wiremock: "2.26.3", findsecbugs: "1.10.1", ] @@ -185,9 +184,8 @@ pmd { spotbugs { toolVersion = versions.spotbugs ignoreFailures = true - sourceSets = [sourceSets.main] } -tasks.withType(SpotBugsTask) { +spotbugsMain { reports { xml.enabled = false html.enabled = true