This is an automated email from the ASF dual-hosted git repository. matrei pushed a commit to branch move-msg-source-utils in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 650b9114866ba3e514c737728218ae31f344b562 Author: Mattias Reichel <[email protected]> AuthorDate: Fri Sep 26 13:40:29 2025 +0200 fix: 13851 - move `GrailsMessageSourceUtils` --- grails-common/build.gradle | 26 +++++++++++----------- .../grails/util/GrailsMessageSourceUtils.groovy | 0 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/grails-common/build.gradle b/grails-common/build.gradle index 378584eef7..ed51ade7f7 100644 --- a/grails-common/build.gradle +++ b/grails-common/build.gradle @@ -25,31 +25,31 @@ version = projectVersion group = 'org.apache.grails.common' dependencies { + // WARNING: this file is not to depend on grails-core; + // it is meant to be a shared library that can be used + // independently of Grails. + // Mainly to share data between Grails & GORM + implementation platform(project(':grails-bom')) api 'org.apache.grails.gradle:grails-gradle-common' - - // WARNING: this file is not to depend on grails-core; it is meant to be a shared library that can be used - // independently of Grails. Mainly to share data between Grails & GORM + api 'org.apache.groovy:groovy' + api 'org.springframework:spring-context', { + // api: MessageSource + } // the annotation metadata readers are used by both GORM & grails-core so it can be placed in a shared build implementation 'org.springframework:spring-core' - api 'org.apache.groovy:groovy' - testImplementation 'org.apache.groovy:groovy-test-junit5' testImplementation 'org.junit.jupiter:junit-jupiter-api' testImplementation 'org.junit.platform:junit-platform-runner' + testImplementation 'org.slf4j:slf4j-simple' + testImplementation 'org.spockframework:spock-core', { + transitive = false + } testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine' - - // Logging - api 'org.slf4j:slf4j-api' - api 'org.slf4j:jcl-over-slf4j' - - // Testing - testImplementation 'org.slf4j:slf4j-simple' - testImplementation('org.spockframework:spock-core') { transitive = false } } apply { diff --git a/grails-core/src/main/groovy/grails/util/GrailsMessageSourceUtils.groovy b/grails-common/src/main/groovy/grails/util/GrailsMessageSourceUtils.groovy similarity index 100% rename from grails-core/src/main/groovy/grails/util/GrailsMessageSourceUtils.groovy rename to grails-common/src/main/groovy/grails/util/GrailsMessageSourceUtils.groovy
