Skip to content
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

How to make dependabot to keep same version for multiple Java libraries? #6820

Closed
1 task done
IvanPizhenko opened this issue Mar 12, 2023 · 2 comments
Closed
1 task done
Labels
F: grouped-updates 🎳 Relates to bumping more than one dependency in a single PR T: feature-request Requests for new features

Comments

@IvanPizhenko
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Feature description

In my build.gradle.kts I have multiple libraries that are released simultaneously with the same version and must be kept that way. How do I make Github's Dependabot to update version of all of them at once, if it has detected that version change on one of the libraries?

Example:

  // these all must have the same version
  kapt("io.javalin.community.openapi:openapi-annotation-processor:5.3.2")
  api("io.javalin.community.openapi:javalin-openapi-plugin:5.3.2")
  api("io.javalin.community.openapi:javalin-swagger-plugin:5.3.2")
  api("io.javalin.community.openapi:javalin-redoc-plugin:5.3.2")

So far I have no idea how to achieve this.
If this is completely not supported, could be a good feature to have.

@IvanPizhenko IvanPizhenko added the T: feature-request Requests for new features label Mar 12, 2023
@yeikel
Copy link
Contributor

yeikel commented Mar 13, 2023

If you extract the version as a property, then dependabot should update all of them at once

@jeffwidman
Copy link
Member

jeffwidman commented Mar 14, 2023

Thanks @yeikel!

This sounds like a duplicate of:

However, @yeikel 's workaround looks reasonable...

@jeffwidman jeffwidman closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2023
@jeffwidman jeffwidman added the F: grouped-updates 🎳 Relates to bumping more than one dependency in a single PR label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F: grouped-updates 🎳 Relates to bumping more than one dependency in a single PR T: feature-request Requests for new features
Projects
None yet
Development

No branches or pull requests

3 participants