Эх сурвалжийг харах

update gradle config to latest snom API

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 1 жил өмнө
parent
commit
460757445a
1 өөрчлөгдсөн 4 нэмэгдсэн , 2 устгасан
  1. 4 2
      app/build.gradle

+ 4 - 2
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 ->