Repository navigation
build(gradle): apply the io.github.ben-manes.versions plugin id - #831
Merged
Merged
Conversation
Gradle warns that the com.github.ben-manes.versions plugin id is deprecated in favour of io.github.ben-manes.versions. Both ids are published for 0.64.0 and both marker POMs resolve to the same io.github.ben-manes:gradle-versions-plugin 0.64.0 artifact, so this only changes the id Gradle resolves the plugin by.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Gradle warns on every build that the plugin id is deprecated:
The id is declared once, in the version catalog, and reached through
alias(libs.plugins.versions)inbuild.gradle.kts. The alias name is unchanged.Evidence
Both ids are published at the pinned 0.64.0, and both marker POMs depend on the same implementation, so this is an id rename with no plugin code change:
com.github.ben-manes.versionscom.github.ben-manes.versions.gradle.pluginio.github.ben-manes:gradle-versions-plugin:0.64.0io.github.ben-manes.versionsio.github.ben-manes.versions.gradle.pluginio.github.ben-manes:gradle-versions-plugin:0.64.0./gradlew help --warning-mode allno longer reports the deprecation, and the plugin still applies:./gradlew testpasses.One other deprecation still appears in that output,
Configuration.setVisible(boolean), from a different plugin. Left alone.Merge Danger
Door: two-way
Build configuration only, reverts with a single commit.
Blast Radius: none
Build-time only. No plugin behaviour, task name or dependency coordinate changes, and the shipped jar is unaffected.