Prechádzať zdrojové kódy

gradle has now different class folder

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 1 rok pred
rodič
commit
df194ce2fb
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/build.gradle

+ 1 - 1
app/build.gradle

@@ -466,7 +466,7 @@ tasks.withType(SpotBugsTask).configureEach { task ->
     dependsOn "compile${variantNameCap}Sources"
 
     excludeFilter.set(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