This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 0ccad8ff9623eef60e644bc0b74163b22f951951
Author: Paul King <pa...@asert.com.au>
AuthorDate: Fri Apr 19 14:16:13 2024 +1000

    deprecated build usage
---
 build-logic/src/main/groovy/org.apache.groovy-base.gradle | 4 ++--
 build.gradle                                              | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/build-logic/src/main/groovy/org.apache.groovy-base.gradle 
b/build-logic/src/main/groovy/org.apache.groovy-base.gradle
index 6f4ca56449..4ed1ee4e6a 100644
--- a/build-logic/src/main/groovy/org.apache.groovy-base.gradle
+++ b/build-logic/src/main/groovy/org.apache.groovy-base.gradle
@@ -307,8 +307,8 @@ components.groovyLibrary {
 // By declaring a codehaus capability we can tell Gradle that the user has to
 // choose between "old" groovy and "new" groovy
 List<String> capabilities = [
-        
"org.codehaus.groovy:${archivesBaseName}:${sharedConfiguration.groovyVersion.get()}",
-        
"org.apache.groovy:${archivesBaseName}:${sharedConfiguration.groovyVersion.get()}"
+        
"org.codehaus.groovy:${archivesName}:${sharedConfiguration.groovyVersion.get()}",
+        
"org.apache.groovy:${archivesName}:${sharedConfiguration.groovyVersion.get()}"
 ]
 int targetJvmVersion = 
Integer.valueOf(sharedConfiguration.targetJavaVersion.get())
 // First we create the "API" and "runtime" variants of Groovy for publication
diff --git a/build.gradle b/build.gradle
index 74a002bb35..457151df4a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -33,7 +33,7 @@ buildScanRecipes {
     recipes 'git-status', 'gc-stats', 'teamcity', 'travis-ci'
 }
 
-archivesBaseName = 'groovy'
+archivesName = 'groovy'
 
 groovyLibrary {
     registerOptionalFeature 'gpars'

Reply via email to