Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use
Classpath
normalization for auxClassPaths
Declaring `auxClassPaths` as a `Classpath` property allows Gradle to perform additional normalization, so that functionally-identical jar files do not trigger a re-execution of the SpotBugsTask. A re-generated jar containing identical classes will have different entry timestamps for each class entry, and as such is not bitwise identical even though it is functionally identical. Without this fix, changing an input jar file will change the input cache key, leading to consistent misses from the local build cache. See https://docs.gradle.org/6.0/userguide/more_about_tasks.html#sec:task_input_using_classpath_annotations
- Loading branch information