From 1a3a5ec4ea73e6999c7042ead473625a9deead02 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期四, 28 八月 2025 17:41:56 +0800
Subject: [PATCH] 2025年08月28日17:41:53
---
build.gradle | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/build.gradle b/build.gradle
index 15d7362..66ea3f8 100644
--- a/build.gradle
+++ b/build.gradle
@@ -2,6 +2,9 @@
buildscript {
+ ext {
+ agp_version = '4.1.3'
+ }
repositories {
google()
mavenCentral()
@@ -11,10 +14,11 @@
url "https://jitpack.io"
}
maven { url 'https://developer.huawei.com/repo/' }//锛堝崕涓烘瀬鍏夋帹閫侊級
+ maven { url 'https://repo1.maven.org/maven2/' }
}
dependencies {
- classpath "com.android.tools.build:gradle:4.1.2"
+ classpath "com.android.tools.build:gradle:$agp_version"
classpath 'io.github.didi.dokit:dokitx-plugin:3.5.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@@ -47,6 +51,7 @@
maven {
url 'https://developer.huawei.com/repo/'
}
+ maven { url 'https://repo1.maven.org/maven2/' }
}
}
--
Gitblit v1.8.0