-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change group id and artifact id for gradle ? #262
Comments
Hi @Sanskarbajaj ; Here's a couple of recipes that might suit your needs; hope that helps. GradleYou can see all Gradle recipes through: https://docs.openrewrite.org/recipes/gradle/ Change a Gradle pluginChanges the selected Gradle plugin to the new plugin. Change Gradle dependencyChange a Gradle dependency coordinates. The newGroupId or newArtifactId MUST be different from before. Upgrade Gradle dependency versionsUpgrade the version of a dependency in a build.gradle file. Supports updating dependency declarations of various forms.
https://docs.openrewrite.org/recipes/gradle/upgradedependencyversion MavenYou can see all Maven recipes through: https://docs.openrewrite.org/recipes/maven/ Change Maven plugin group and artifact IDChange the groupId and/or the artifactId of a specified Maven plugin. Change Maven dependencyChange a Maven dependency coordinates. The newGroupId or newArtifactId MUST be different from before. Upgrade Maven dependency versionUpgrade the version of a dependency by specifying a group and (optionally) an artifact using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases. Both Gradle and MavenNote that we also have a selection of recipes for both Maven and Gradle: Upgrade Gradle or Maven dependency versionsFor Gradle projects, upgrade the version of a dependency in a build.gradle file. Supports updating dependency declarations of various forms:
For Maven projects, upgrade the version of a dependency by specifying a group and (optionally) an artifact using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases. |
Thanks @timtebeek :) |
Hi @timtebeek could you help me with this |
There's no direct replacement for the Maven managed dependency recipe in Gradle (yet). You might want to open issue to describe what you're looking for. Perhaps you'd be interested in adding Gradle dependency constraints for instance. |
like for maven we have something like this
org.openrewrite.maven.ChangePluginGroupIdAndArtifactId
what if i want to use for gradle what can i use
The text was updated successfully, but these errors were encountered: