use mavenCentral in light of JCenter shutdown

pull/53/head android-11
cfig 4 years ago
parent b108110dbd
commit 50273a9085
No known key found for this signature in database
GPG Key ID: B104C307F0FDABB7

@ -5,7 +5,7 @@ plugins {
}
repositories {
jcenter()
mavenCentral()
}
dependencies {

@ -6,7 +6,7 @@ plugins {
}
repositories {
jcenter()
mavenCentral()
}
dependencies {

@ -15,7 +15,7 @@ if (parseGradleVersion(gradle.gradleVersion) < 6) {
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath("org.apache.commons:commons-exec:1.3")

@ -1,50 +0,0 @@
#! /bin/sh
# speed up with mirrors within the biggest LAN
git apply - <<EOF
diff --git a/aosp/boot_signer/build.gradle.kts b/aosp/boot_signer/build.gradle.kts
index 0472c6e..788257d 100644
--- a/aosp/boot_signer/build.gradle.kts
+++ b/aosp/boot_signer/build.gradle.kts
@@ -5,7 +5,8 @@ plugins {
}
repositories {
- jcenter()
+ maven { url = uri("http://maven.aliyun.com/nexus/content/groups/public/") }
+ maven { url = uri("http://maven.aliyun.com/nexus/content/repositories/jcenter") }
}
dependencies {
diff --git a/bbootimg/build.gradle.kts b/bbootimg/build.gradle.kts
index 3362dd7..9906c00 100644
--- a/bbootimg/build.gradle.kts
+++ b/bbootimg/build.gradle.kts
@@ -6,7 +6,8 @@ plugins {
}
repositories {
- jcenter()
+ maven { url = uri("http://maven.aliyun.com/nexus/content/groups/public/") }
+ maven { url = uri("http://maven.aliyun.com/nexus/content/repositories/jcenter") }
}
dependencies {
diff --git a/build.gradle.kts b/build.gradle.kts
index bf076be..973c84a 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -14,7 +14,8 @@ if (parseGradleVersion(gradle.gradleVersion) < 5) {
buildscript {
repositories {
- jcenter()
+ maven { url = uri("http://maven.aliyun.com/nexus/content/groups/public/") }
+ maven { url = uri("http://maven.aliyun.com/nexus/content/repositories/jcenter") }
}
dependencies {
classpath("org.apache.commons:commons-exec:1.3")
EOF
Loading…
Cancel
Save