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

Spotbugs auxClassPaths eagerly resolves SourceSet compileClasspath default #743

Open
lennartfricke opened this issue May 30, 2022 · 1 comment

Comments

@lennartfricke
Copy link

We realized that a changed compileClasspath in a sourceSet is not recognized by the spotbugs plugin.

Like when doing:
main { compileClasspath = ... }

This seems to be because the SpotbugsTaskFactory set the auxClassPaths to the value encountered on creation.
Maybe it would be better to resolve the compileClasspath lazily.

@lennartfricke
Copy link
Author

There are some similarities to #135

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

1 participant