diff --git a/src/main/groovy/com/github/spotbugs/snom/SpotBugsTask.groovy b/src/main/groovy/com/github/spotbugs/snom/SpotBugsTask.groovy index 67ac0135..93a75fa0 100644 --- a/src/main/groovy/com/github/spotbugs/snom/SpotBugsTask.groovy +++ b/src/main/groovy/com/github/spotbugs/snom/SpotBugsTask.groovy @@ -36,6 +36,7 @@ import org.gradle.api.model.ObjectFactory; import org.gradle.api.provider.ListProperty; import org.gradle.api.provider.Property; import org.gradle.api.tasks.CacheableTask +import org.gradle.api.tasks.Classpath import org.gradle.api.tasks.Input; import org.gradle.api.tasks.InputFile; import org.gradle.api.tasks.InputFiles; @@ -235,7 +236,7 @@ class SpotBugsTask extends DefaultTask implements VerificationTask { * Default value is the compile-scope dependencies of the target sourceSet. */ @InputFiles - @PathSensitive(PathSensitivity.RELATIVE) + @Classpath FileCollection auxClassPaths; /**