You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2021/02/28 03:41:57 UTC

[groovy] 02/02: change jcenter references to Maven Central in build

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 5aee00215a0c0effc2a2d99b45bfb31ae6820ba0
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sun Feb 28 13:41:45 2021 +1000

    change jcenter references to Maven Central in build
---
 build.gradle                                             | 2 +-
 buildSrc/src/main/groovy/org.apache.groovy-common.gradle | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.gradle b/build.gradle
index b2df3fe..e321f84 100644
--- a/build.gradle
+++ b/build.gradle
@@ -22,7 +22,7 @@ buildscript {
             // Try to use Aliyun maven repository when building in China
             maven { url 'https://maven.aliyun.com/nexus/content/groups/public' }
         }
-        jcenter()
+        mavenCentral()
 //        maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
         maven {
             url "https://plugins.gradle.org/m2/"
diff --git a/buildSrc/src/main/groovy/org.apache.groovy-common.gradle b/buildSrc/src/main/groovy/org.apache.groovy-common.gradle
index e6aa7c2..c47dcf0 100644
--- a/buildSrc/src/main/groovy/org.apache.groovy-common.gradle
+++ b/buildSrc/src/main/groovy/org.apache.groovy-common.gradle
@@ -46,7 +46,7 @@ repositories {
         // Try to use Aliyun maven repository when building in China
         maven { url 'https://maven.aliyun.com/nexus/content/groups/public' }
     }
-    jcenter()
+    mavenCentral()
     exclusiveContent {
         forRepository {
             maven { // openbeans