Comments (3)
I guess I would need to be more specific, the task is annotated as cacheable, and have declared InputFiles, but no output, so it's not cacheable at all.
My guess is that's because the task is showing errors directly during execution instead of storing them anywhere.
I think to make it we should split the task into:
- analysis: read the config + files to analyze as input, and have an xml report as output.
- spotbugs: depends on analysis and reports back on the gradle execution, making the build fail if needed. This one won't be cacheable but it would be fast ( or can be made cacheable depending on the property to fail the build )
from spotbugs-gradle-plugin.
Hi @CristianGM could you check 5a3d39d?
According to this result, it seems that Gradle can treat this plugin as cacheable. It's nice if you can share some code snippet or small project to reproduce your problem. Thanks :)
from spotbugs-gradle-plugin.
I believe that this has been solved by #96
from spotbugs-gradle-plugin.
Related Issues (20)
- new false positive alert since version '5.2.0' HOT 3
- silence spotbugs warnings HOT 3
- java.lang.NoSuchMethodError: 'org.apache.commons.lang3.Range org.apache.commons.lang3.Range.of(java.lang.Comparable, java.lang.Comparable)' HOT 1
- SpotBugs using wrong Java SDK in Android Studio HOT 4
- plugin should add a space character when displaying failed report files HOT 2
- External stylesheet not used when defined in external gradle file HOT 3
- Replace depreated `BaseVariant` usages
- A failure occurred while executing com.github.spotbugs.snom.internal.SpotBugsRunnerForWorker$SpotBugsExecutor HOT 4
- Plugin does not run on JDK8 HOT 1
- Reports not created for cached task HOT 2
- Groovy valueOf(String) for effort and reportLevel not working HOT 2
- Reports not being created HOT 1
- Remove deprecated API HOT 2
- Build with Java 17, and publish Java 11 class file format HOT 3
- [BUG] Disabling spotbugsIntegrationTest Task in Separate Gradle Configuration File HOT 1
- How to use reportLevel 'high' but pick specific bugs from other categories HOT 1
- 6.0.0-beta.3 - cannot set `reportLevel` property HOT 2
- Configurations for effort and reportLevel are broken. HOT 14
- Dependency Dashboard
- Spotbugs plugin for gradle 6.0.0-beta4 is broken in Netbeans 19 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotbugs-gradle-plugin.