From 21e6823383f67f2f1807e642911a3b156fe41df2 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Mon, 4 Dec 2023 09:47:52 +0100 Subject: [PATCH] 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 ->