Giter Site home page Giter Site logo

Comments (6)

mr-archano avatar mr-archano commented on June 7, 2024

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.

FHellmann avatar FHellmann commented on June 7, 2024

@mr-archano thank you for your fast reply. Hopfuly these issues will be fixed soon.

from gradle-static-analysis-plugin.

bitsydarel avatar bitsydarel commented on June 7, 2024

Those issues seems to have been resolved. Any plans on adding this to the next release?

from gradle-static-analysis-plugin.

tasomaniac avatar tasomaniac commented on June 7, 2024

Looks like Gradle's support was reverted. Here is the most recent issue. It is still open.

gradle/gradle#2862

from gradle-static-analysis-plugin.

Cinderhaze avatar Cinderhaze commented on June 7, 2024

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.

tasomaniac avatar tasomaniac commented on June 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.