renovatebot / renovate

Home of the Renovate CLI: Cross-platform Dependency Automation by Mend.io
https://mend.io/renovate
GNU Affero General Public License v3.0
17.19k stars 2.25k forks source link

Update PMD tool version #12424

Closed jochenberger closed 1 year ago

jochenberger commented 2 years ago

What would you like Renovate to be able to do?

For Gradle builds with the PMD plugin applied, you can specify the PMD version that is to be used. Renovate does not pick that up and does not create PRs to update it.

This is how it looks in the build file.

pmd {
  toolVersion = '6.36.0'
}

See also https://docs.gradle.org/current/dsl/org.gradle.api.plugins.quality.PmdExtension.html#org.gradle.api.plugins.quality.PmdExtension:toolVersion.

If you have any ideas on how this should be implemented, please tell us here.

Since there are also other plugins that use the "toolVersion" property name as some kind of convention, I guess that could be used in some kind of regex.

See https://docs.gradle.org/current/dsl/org.gradle.testing.jacoco.plugins.JacocoPluginExtension.html#org.gradle.testing.jacoco.plugins.JacocoPluginExtension:toolVersion

or

https://spotbugs-gradle-plugin.netlify.app/com/github/spotbugs/snom/spotbugsextension#toolVersion for the same mechanism in a third-party plugin

Is this a feature you are interested in implementing yourself?

No

github-actions[bot] commented 2 years ago

Hi there,

Help us by making a minimal reproduction repository.

Before we can start work on your issue we first need to know exactly what's causing the current behavior. A minimal reproduction helps us with this.

To get started, please read our guide on creating a minimal reproduction to understand what is needed.

We may close the issue if you (or someone else) have not provided a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment.

Good luck,

The Renovate team

jochenberger commented 2 years ago

https://github.com/jochenberger/renovate-issue-12424

rarkins commented 2 years ago

Which package (e.g. on Maven Central) does this map to?

jochenberger commented 2 years ago

Seems to be https://search.maven.org/artifact/net.sourceforge.pmd/pmd-java

renovate-release commented 1 year ago

:tada: This issue has been resolved in version 34.54.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: