Comments (6)
Yes, I would start investigating on Detekt once the new plugin is released.
For Lint, I'm almost sure that it is not gonna be possible for quite some time. Even with the upcoming AGP versions. Not sure when they are planning to do this. If I can find a issue link, will post here.
from gradle-static-analysis-plugin.
Lint will be rewritten soon probably, but so far is not cacheable or incremental and it can't be without rethinking how it works completely.
from gradle-static-analysis-plugin.
I'm planning to create an Pull Request with Gradle tests around up-to-date check. Maybe even later around cacheability.
from gradle-static-analysis-plugin.
That's great! Detekt's plugin is being re-written and I hope it'll get proper up-to-date and cacheability support. PMD incrementality is not supported yet I think, I had seen something on Gradle's own issue tracker about it some time ago (PMD loudly complains about it every time). Lint's incrementality might depend on the version of AGP and thus Lint itself.
from gradle-static-analysis-plugin.
Confirmed that the new version of detekt
has up-to-date support.
I am seeing up-to-date
with findbugs too. The new versions of Gradle might have fixed it. #148 adds cache support for html report generation.
Gotta check how to make collectViolations
tasks cacheable. Since they parse the xml reports, they are actually not that fast.
from gradle-static-analysis-plugin.
@tasomaniac it will be easy to make them cacheable if we tackle #43
I also would consider to change the violations evaluator to be more customisable (Violations
as we use them should be just one of the possible way of dealing with the tools outputs)
from gradle-static-analysis-plugin.
Related Issues (20)
- Support task configuration avoidance HOT 1
- Add per-tool evaluation HOT 2
- Task with name 'check' not found in root project HOT 3
- Upgrade Gradle to 5.1.1 HOT 16
- PMD and Checkstyle doesn't found sources in Android project HOT 4
- Run check for a particular flavor/build type HOT 1
- Gradle error with Kapt HOT 4
- Unable to support JLLeitschuh/ktlint-gradle plugin version 9.0.0 HOT 7
- Prepare for Findbugs removal in Gradle 6.0
- Support ktlint html reports
- Make the plugin Gradle Kotlin DSL friendly HOT 8
- Update sample projects to AndroidX
- Make Violations class and reports more informative HOT 3
- evaluateViolations doesn't stop w/ errors? HOT 8
- all unit tests fail HOT 2
- SpotBugs fails due to null path variable HOT 7
- Is it possible to allow warnings from one analysis tool, but not others HOT 3
- How to enable HTML reports for SpotBugs? HOT 4
- Can't target latest spotbugs gradle plugin (4.0.4)
- analysis not running after adding build flavors to app modules HOT 3
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 gradle-static-analysis-plugin.