Browse Source

Adopt library structure for spotbugs

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 1 năm trước cách đây
mục cha
commit
6c26873131
2 tập tin đã thay đổi với 1 bổ sung2 xóa
  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