Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting Spotbugs exclusion breaks cache #108

Open
fwPunsher opened this issue Mar 19, 2024 · 1 comment
Open

Setting Spotbugs exclusion breaks cache #108

fwPunsher opened this issue Mar 19, 2024 · 1 comment

Comments

@fwPunsher
Copy link

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
Copy link
Owner

xvik commented Mar 19, 2024

Thank you! I will look it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants