diff --git a/app/build.gradle b/app/build.gradle index 02abcac254..32bd9f4d3e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -24,6 +24,8 @@ * along with this program. If not, see . */ import com.github.spotbugs.snom.SpotBugsTask +import com.github.spotbugs.snom.Confidence +import com.github.spotbugs.snom.Effort apply plugin: 'com.android.application' apply plugin: 'kotlin-android' @@ -322,8 +324,8 @@ task installGitHooks(type: Copy, group: "development") { spotbugs { ignoreFailures = true // should continue checking - effort = "max" - reportLevel = "medium" + effort = Effort.MAX + reportLevel = Confidence.valueOf('MEDIUM') } tasks.withType(SpotBugsTask) { task -> diff --git a/build.gradle b/build.gradle index 005b40c17a..2a3068305a 100644 --- a/build.gradle +++ b/build.gradle @@ -37,7 +37,7 @@ buildscript { classpath 'com.android.tools.build:gradle:8.2.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}" classpath "org.jetbrains.kotlin:kotlin-serialization:${kotlinVersion}" - classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.2.5' + classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.1' classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.4" classpath "org.jlleitschuh.gradle:ktlint-gradle:11.6.1"