This is an automated email from the ASF dual-hosted git repository. jamesfredley pushed a commit to branch apache-coordinates in repository https://gitbox.apache.org/repos/asf/grails-wrapper.git
commit 162aa65b8f81a4d8c3c10ba15f13f86fd46df75e Author: James Fredley <[email protected]> AuthorDate: Fri Apr 18 17:57:46 2025 -0400 Use Apache Grails Maven Coordinates --- wrapper/build.gradle | 4 ++-- wrapper/src/main/groovy/grails/init/RunCommand.groovy | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wrapper/build.gradle b/wrapper/build.gradle index c22173c..7c67184 100644 --- a/wrapper/build.gradle +++ b/wrapper/build.gradle @@ -64,11 +64,11 @@ repositories { } dependencies { - implementation platform("org.grails:grails-bom:$grailsVersion") + implementation platform("org.apache.grails:grails-bom:$grailsVersion") implementation "org.apache.groovy:groovy" implementation "org.springframework.boot:spring-boot-cli" implementation "org.apache.groovy:groovy-ant" - implementation "org.grails:grails-shell" + implementation "org.apache.grails:grails-shell-cli" implementation "org.apache.groovy:groovy-templates" } diff --git a/wrapper/src/main/groovy/grails/init/RunCommand.groovy b/wrapper/src/main/groovy/grails/init/RunCommand.groovy index 2f2bcb8..326669c 100644 --- a/wrapper/src/main/groovy/grails/init/RunCommand.groovy +++ b/wrapper/src/main/groovy/grails/init/RunCommand.groovy @@ -41,11 +41,11 @@ class RunCommand { MavenResolverGrapeEngine grapeEngine = MavenResolverGrapeEngineFactory.create(groovyClassLoader, repositoryConfigurations, new DependencyResolutionContext(), false) try { - grapeEngine.grab([:], [group: "org.grails", module: "grails-shell", version: grailsVersion]) + grapeEngine.grab([:], [group: "org.apache.grails", module: "grails-shell-cli", version: grailsVersion]) } catch(dependencyResolutionException){ // Try grails shell version from gradle.properties or default - grapeEngine.grab([:], [group: "org.grails", module: "grails-shell", version: grailsShellVersion]) + grapeEngine.grab([:], [group: "org.apache.grails", module: "grails-shell-cli", version: grailsShellVersion]) } ClassLoader previousClassLoader = Thread.currentThread().contextClassLoader
