Comments (6)
Hi @FHellmann, this plugin under the hood applies the built-in PMD plugin from Gradle, and lets you configure the tool as you would normally do without using our plugin. Looking at the page you linked it looks like incremental analysis should be automatically supported by recent versions of PMD, but looking at the last version of Gradle it seems like the support for this feature didn't make the release yet because of some issue:
Given we are relying on the built-in PmdPlugin
from Gradle we need to wait for those issues to be solved, but hopefully a future version of Gradle will let you just enable that (we keep the original pmd
extension, we just add couple more utilities to it).
from gradle-static-analysis-plugin.
@mr-archano thank you for your fast reply. Hopfuly these issues will be fixed soon.
from gradle-static-analysis-plugin.
Those issues seems to have been resolved. Any plans on adding this to the next release?
from gradle-static-analysis-plugin.
Looks like Gradle's support was reverted. Here is the most recent issue. It is still open.
from gradle-static-analysis-plugin.
This looks like it was resolved in gradle 5.6 - https://docs.gradle.org/5.6/release-notes.html#support-for-pmd-incremental-analysis - It was merged in commit gradle/gradle@9093bb0
from gradle-static-analysis-plugin.
I'm not sure if this plugin should enable it by default. What is nice about this plugin is that you can configure every single property provided by the underlying plugins. Adding below will enable it for you if you use Gradle 5.6
pmd {
incrementalAnalysis = true
}
What we can do is to provide this into our documentation.
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.