xvik / gradle-quality-plugin

Gradle quality plugin for Java and Groovy
http://xvik.github.io/gradle-quality-plugin
MIT License
133 stars 11 forks source link

Setting Spotbugs exclusion breaks cache #108

Open fwPunsher opened 5 months ago

fwPunsher commented 5 months ago

Setting an exclusion like:

quality { strict = false; checkstyle = false; exclude '/generated/' }

Will breake the caching and incremental build functionality of gradle.

Task ':projectName:spotbugsMain' is not up-to-date because: Input property 'excludeFilter' file /tmp/projectName-spotbugsMain-excludes1927228757384835287.xml has been removed. Input property 'excludeFilter' file /tmp/projectName-spotbugsMain-excludes7764054299947599288.xml has been added.

This results in longer than necessary build times because the file has a different name on every build.

xvik commented 5 months ago

Thank you! I will look it