-
-
Notifications
You must be signed in to change notification settings - Fork 69
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 not running, and no -text #31
Comments
please consider to share minimal project that can reproduce this issue. |
my code is completely open source, you can use it to simply reproduce, but honestly this has been an issue for 9 months and the workaround was to stop specifying text explicitly so... you can use a checkout of the sha1 given... or since the api has been broken in a backwards incompatible way for so long... just leave it broken I guess.... I don't have time to find reproduction steps 8 months later |
The problem here is that the Gradle plugin accepts enabling a report called Just run a build with tasks.withType(SpotBugsTask) {
reports {
xml.enabled false
text.enabled true
}
} and you can reproduce the issue easily. |
going a little crazy trying to figure out what's going wrong, I moved my configuration to a plugin, but it seems that it's not working
https://bitbucket.org/xenoterracide/gradle-plugin-bundle/src/19c9dbf00f740e7498fa5504921980e08fe00d21/src/main/java/com/xenoterracide/gradle/plugin/configurations/SpotBugs.java?at=master
disabling text allows it to run calling
spotbugsMain
to work though these codes seem a bit unreadable?but then
check
still isn't running it. I've got my addon configured like thisThe text was updated successfully, but these errors were encountered: