Browse Source

Adopt library structure for spotbugs

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 1 year ago
parent
commit
6c26873131
2 changed files with 1 additions and 2 deletions
  1. 1 2
      app/build.gradle
  2. 0 0
      scripts/analysis/spotbugs-filter.xml

+ 1 - 2
app/build.gradle

@@ -459,10 +459,9 @@ spotbugs {
     reportLevel = Confidence.valueOf('MEDIUM')
 }
 
-tasks.withType(SpotBugsTask).configureEach { task ->
+tasks.withType(SpotBugsTask){task ->
     String variantNameCap = task.name.replace("spotbugs", "")
     String variantName = variantNameCap.substring(0, 1).toLowerCase() + variantNameCap.substring(1)
-
     dependsOn "compile${variantNameCap}Sources"
 
     excludeFilter.set(file("${project.rootDir}/spotbugs-filter.xml"))

+ 0 - 0
spotbugs-filter.xml → scripts/analysis/spotbugs-filter.xml