From ee84703c948526e3dd83172dc5516cfe31b145f9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 02:46:45 +0000 Subject: [PATCH 1/2] Build(deps): Bump com.github.spotbugs.snom:spotbugs-gradle-plugin Bumps [com.github.spotbugs.snom:spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.2.5 to 6.0.1. - [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases) - [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.2.5...6.0.1) --- updated-dependencies: - dependency-name: com.github.spotbugs.snom:spotbugs-gradle-plugin dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 005b40c17..2a3068305 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" From 21e6823383f67f2f1807e642911a3b156fe41df2 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Mon, 4 Dec 2023 09:47:52 +0100 Subject: [PATCH 2/2] update syntax to snom 6 Signed-off-by: Andy Scherzinger --- app/build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 02abcac25..32bd9f4d3 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 ->