Browse Source

Update classes path for spotbugs to pick up

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 1 year ago
parent
commit
3c80197908
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/build.gradle

+ 1 - 1
app/build.gradle

@@ -338,7 +338,7 @@ tasks.withType(SpotBugsTask).configureEach { task ->
     dependsOn "compile${variantNameCap}Sources"
 
     excludeFilter = file("${project.rootDir}/spotbugs-filter.xml")
-    classes = fileTree("$project.buildDir/intermediates/javac/${variantName}/classes/")
+    classes = fileTree("$project.buildDir/intermediates/javac/${variantName}/compile${variantNameCap}JavaWithJavac/classes/")
     reports {
         xml {
             required = true