-
Notifications
You must be signed in to change notification settings - Fork 96
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
Rework how the dependency coordinates found in templates are handled #1636
Conversation
Instead of using a pom.xml file, this now makes use of a Gradle version catalog, found in `gradle/templates.versions.toml`. This file should be handled by renovatebot automatically. This will typically make the Gradle plugin upgrades much easier to handle since there will be a single place to change. Fixes #1635
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧙
I believe there's a fix in the pipeline from @sdelamo for the aws/groovy failures |
This could be updated to Gradle plugin 3.7.4 but given the very slow feedback loop, I won't push this today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, note that we also use the pom.xml in guides. https://github.com/micronaut-projects/micronaut-guides/blob/master/buildSrc/src/main/resources/pom.xml
I assume this is compatible to have another version catalogue in guides.
...st/groovy/io/micronaut/starter/feature/dependencies/MultipleSourcesDependencyResolver.groovy
Show resolved
Hide resolved
starter-core/src/test/groovy/io/micronaut/starter/build/dependencies/PomCoordinatesUtils.java
Outdated
Show resolved
Hide resolved
Oh, so you mean the |
This class is used in `micronaut-guides`, where something similar to this PR could be done.
Instead of using a pom.xml file, this now makes use of a Gradle version catalog, found in
gradle/templates.versions.toml
. This file should be handled by renovatebot automatically.This will typically make the Gradle plugin upgrades much easier to handle since there will be a single place to change.
Fixes #1635