@@ -176,6 +176,15 @@ subprojects { subproject ->
176176 ext. isCiBuild = subproject. hasProperty(' isCiBuild' ) || System . getenv(). get(' CI' ) as Boolean
177177 ext. isAsyncProject = subproject. name. startsWith(' grails-async' ) || subproject. name. startsWith(' grails-events' )
178178
179+ // Historically async mapped the core libraries to different artifact ids
180+ ext. mappedArtifactIds = [
181+ ' grails-async-core' : ' grails-async' ,
182+ ' grails-async-plugin' : ' async' ,
183+ ' grails-events-core' : ' grails-events' ,
184+ ' grails-events-plugin' : ' events' ,
185+ ' grails-plugin-converters' : ' converters'
186+ ]
187+
179188 if (isPlugin) {
180189 group = ' org.grails.plugins'
181190 } else {
@@ -261,15 +270,6 @@ subprojects { subproject ->
261270
262271 publications {
263272 maven(MavenPublication ) {
264- // Historically async mapped the core libraries to different artifact ids
265- Map mappedArtifactIds = [
266- ' grails-async-core' : ' grails-async' ,
267- ' grails-async-plugin' : ' async' ,
268- ' grails-events-core' : ' grails-events' ,
269- ' grails-events-plugin' : ' events' ,
270- ' grails-plugin-converters' : ' converters'
271-
272- ]
273273 if (mappedArtifactIds. containsKey(subproject. name)) {
274274 artifactId = mappedArtifactIds[subproject. name]
275275 }
0 commit comments