Open jochenberger opened 3 years ago
I just came across this issue too. It looks like a problem is that the task input is marked as internal:
Yep, should probably be @Classpath
instead.
And the same for spotbugsClasspath
.
If you have the html report enabled and use a built-in stylesheet, the task will be out-of-date because the stylesheet property changed.
But if you either have a custom stylesheet or do not have the html report enabled, the tasks are up-to-date or served from cache even if the spotbugs version is changed.
If I add a spotbugs plugin (e.g.
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.11.0'
) and run thespotbugsMain
task, it is considered up-to-date. The plugins should be considered for the up-to-date check. Please let me know if any more information is needed.