-
-
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
1.6.10 fails with Gradle 5.2.1 #119
Comments
The guava in your classpath is too old. This API was added at Guava 23.1 so please make sure your Gradle is using 23.1 or later. This plugin does not depend on Guava so your problem is not related with spotbugs-gradle-plugin. I will close this issue, please reopen if you can reproduce it with mcve project. BTW I cannot find the following line in Gradle 5.2.1:
Actually this line in Gradle 5.2.1 is empty. So I guess you're using older version than 5.2.1. |
I have the same issue. guava version is |
Version |
This problem appears to be related to the spotbugs gradle plugin in some way. As others have reported, version 1.6.9 of the plugin works, whereas version 1.7.1 leads to this failure. It may not be due to a direct dependency of the plugin on Guava, but clearly the upgrade of the plugin leads to this bug. Please reopen the issue. The failure message says:
That class uses a number of Gradle internal classes for process creation and handling. I would not be surprised if that is related to this bug. I recommend migrating away from the use of these internal classes. Gradle do that for the built-in Findbugs task but relying on these internal classes from an external plugin is likely to lead to these kind of bugs especially given the amount of reflection, bytecode manipulation, class generation, service injection, and class loader manipulation that is being performed by these internal classes. Perhaps eliminating the use of the internal APIs is covered by the open issue #104. |
After updating from 1.6.9 to 1.6. the builds fail:
The text was updated successfully, but these errors were encountered: