Skip to content

Commit

Permalink
Grails Gradle Plugin: Import 'grails-bom' after 'spring-boot-dependen…
Browse files Browse the repository at this point in the history
…cies'

This will allow Grails overriding versions from Spring Boot
  • Loading branch information
rainboyan committed May 24, 2023
1 parent d94925b commit f2d14ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ class GrailsGradlePlugin extends GroovyPlugin {
private void applyBomImport(DependencyManagementExtension dme, Project project) {
String springBootVersion = resolveSpringBootVersion(project)
dme.imports({
mavenBom("org.grails:grails-bom:${grailsVersion}")
mavenBom("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
mavenBom("org.grails:grails-bom:${grailsVersion}")
})
dme.setApplyMavenExclusions(false)
}
Expand Down

0 comments on commit f2d14ec

Please sign in to comment.