update gradle config to latest snom API

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2024-01-29 12:35:23 +01:00
parent 3539ba46a1
commit 460757445a
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -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 ->