Update classes path for spotbugs to pick up

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2024-03-01 14:20:36 +01:00
parent b05b8d9387
commit 3c80197908
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -338,7 +338,7 @@ tasks.withType(SpotBugsTask).configureEach { task ->
dependsOn "compile${variantNameCap}Sources" dependsOn "compile${variantNameCap}Sources"
excludeFilter = file("${project.rootDir}/spotbugs-filter.xml") 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 { reports {
xml { xml {
required = true required = true