-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce a task to update version catalogs (#187)
This commit upgrades to Gradle 7.2 and offers a new plugin which is responsible for updating version catalogs. It's an adhoc task which works similarly to the old "useLatestVersions" task, but uses the information available in version catalogs instead. For now, not all notations are supported: only simple version notations are, which means that if the catalog uses Gradle's "rich versions", then updating would fail. Similarly, versions are expected to be found on the same line as the declaration of an alias. This will allow updating the micronaut core project to use version catalogs instead of coordinates hardcoded in the build files, and will simplify the generation/verification of BOM files. It's worth noting that you must either apply the new update plugin, or the old one, but it's NOT supported to have both since they use the same task name: using a different task name would have broken the CI integration.
- Loading branch information
Showing
45 changed files
with
1,708 additions
and
135 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
projectVersion=4.0.2-SNAPSHOT | ||
projectVersion=4.1.0-SNAPSHOT | ||
title=Micronaut Build Plugins | ||
projectDesc=Micronaut internal Gradle plugins. Not intended to be used in user's projects | ||
projectUrl=https://micronaut.io | ||
githubSlug=micronaut-projects/micronaut-build | ||
groovyVersion=3.0.7 | ||
groovyVersion=3.0.8 | ||
micronautVersion=2.5.0 |
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.