From f2d14ec2cda0827d4f5f9a5d769f8c3065b8672a Mon Sep 17 00:00:00 2001 From: Michael Yan Date: Wed, 24 May 2023 13:09:40 +0800 Subject: [PATCH] Grails Gradle Plugin: Import 'grails-bom' after 'spring-boot-dependencies' This will allow Grails overriding versions from Spring Boot --- .../org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy b/grails-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy index 60a0b49e7b..03f21ba9ba 100644 --- a/grails-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy +++ b/grails-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy @@ -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) }