We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently there is no easy way to use different classpath from source set.
Field sourceSet is private in SpotBugsTask. Please add getter for sourceSet to get this working:
withType<SpotBugsTask> { classpath = sourceSet.compileClasspath }
The text was updated successfully, but these errors were encountered:
Workaround:
withType<SpotBugsTask> { val sourceSetName = name.substring(8).toLowerCase() sourceSets.findByName(sourceSetName)?.let { classpath = it.compileClasspath } }
Sorry, something went wrong.
No branches or pull requests
Currently there is no easy way to use different classpath from source set.
Field sourceSet is private in SpotBugsTask. Please add getter for sourceSet to get this working:
The text was updated successfully, but these errors were encountered: