Explorar o código

Adopt library structure for spotbugs

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger hai 1 ano
pai
achega
6c26873131
Modificáronse 2 ficheiros con 1 adicións e 2 borrados
  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')
     reportLevel = Confidence.valueOf('MEDIUM')
 }
 }
 
 
-tasks.withType(SpotBugsTask).configureEach { task ->
+tasks.withType(SpotBugsTask){task ->
     String variantNameCap = task.name.replace("spotbugs", "")
     String variantNameCap = task.name.replace("spotbugs", "")
     String variantName = variantNameCap.substring(0, 1).toLowerCase() + variantNameCap.substring(1)
     String variantName = variantNameCap.substring(0, 1).toLowerCase() + variantNameCap.substring(1)
-
     dependsOn "compile${variantNameCap}Sources"
     dependsOn "compile${variantNameCap}Sources"
 
 
     excludeFilter.set(file("${project.rootDir}/spotbugs-filter.xml"))
     excludeFilter.set(file("${project.rootDir}/spotbugs-filter.xml"))

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