From 460757445a00e0d6587c0aaac81d7e1e0bda616c Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Mon, 29 Jan 2024 12:35:23 +0100 Subject: [PATCH] update gradle config to latest snom API 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 3a450272b7..d405864296 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,4 +1,6 @@ import com.github.spotbugs.snom.SpotBugsTask +import com.github.spotbugs.snom.Confidence +import com.github.spotbugs.snom.Effort import org.gradle.internal.jvm.Jvm buildscript { @@ -442,8 +444,8 @@ jacoco { spotbugs { ignoreFailures = true // should continue checking - effort = "max" - reportLevel = "medium" + effort = Effort.MAX + reportLevel = Confidence.valueOf('MEDIUM') } tasks.withType(SpotBugsTask).configureEach { task ->