From f97e9a6a22314b613266de28ecf2fb69a6df20a3 Mon Sep 17 00:00:00 2001 From: jk <799657600@qq.com> Date: Fri, 22 Aug 2025 14:31:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=8E=AF=E5=A2=83=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 24 +++++++++++++++++++----- gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 009d551..9af23a2 100644 --- a/build.gradle +++ b/build.gradle @@ -6,18 +6,25 @@ buildscript { kotlin_version = '2.0.0' } repositories { + maven { url 'https://maven.aliyun.com/repository/public' } + + maven { url 'https://maven.aliyun.com/repository/google' } + + maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } + + maven { url 'https://maven.aliyun.com/repository/central' } + + maven { url 'https://maven.aliyun.com/repository/jcenter' } google() jcenter() maven { url 'https://www.jitpack.io' } mavenCentral() maven { url 'https://repo1.maven.org/maven2/' } - maven { url 'https://maven.aliyun.com/repository/public' } //mintegral sdk依赖 引入mintegral sdk需要添加此maven maven { url "https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_support/" } maven { url "https://artifact.bytedance.com/repository/pangle" } - maven { url "https://maven.aliyun.com/repository/google" } } dependencies { @@ -35,6 +42,16 @@ buildscript { allprojects { repositories { + maven { url 'https://maven.aliyun.com/repository/public' } + + maven { url 'https://maven.aliyun.com/repository/google' } + + maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } + + maven { url 'https://maven.aliyun.com/repository/central' } + + maven { url 'https://maven.aliyun.com/repository/jcenter' } + google() jcenter() maven { url 'https://www.jitpack.io' } @@ -44,9 +61,6 @@ allprojects { maven { url 'https://repo1.maven.org/maven2/' } - maven { url 'https://maven.aliyun.com/repository/public' } - maven { url "https://maven.aliyun.com/repository/google" } - maven { url "http://124.221.136.193:3000/app-lib/JKBaseLib/raw/master/maven" allowInsecureProtocol = true // 允许HTTP diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 35a4f6a..98d1c86 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Mon May 19 09:37:38 CST 2025 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists +distributionUrl=https://mirrors.aliyun.com/macports/distfiles/gradle/gradle-8.11.1-bin.zip