Skip to content

Commit

Permalink
Merge pull request #472 from grails/pre-release-7.0.0-M1
Browse files Browse the repository at this point in the history
add grails-bom to make sure versions are always set
  • Loading branch information
jamesfredley authored Dec 23, 2024
2 parents 394fe0d + 82b8892 commit 4a84e84
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ public boolean isVisible() {

@Override
public void apply(GeneratorContext generatorContext) {

// This ensures that grails-bom forces milestones to override snapshots
generatorContext.addDependency(Dependency.builder()
.groupId("org.grails")
.artifactId("grails-bom")
.pom(true)
.version("$grailsVersion")
.implementation());

generatorContext.addDependency(Dependency.builder()
.groupId("org.grails")
.artifactId("grails-core")
Expand Down

0 comments on commit 4a84e84

Please sign in to comment.