From 7c2dce60eeb3b3b54c52890ece8aa472d5512a04 Mon Sep 17 00:00:00 2001
From: mac <user@users-MacBook-Pro.local>
Date: 星期一, 11 三月 2024 16:03:49 +0800
Subject: [PATCH] 2024年03月11日16:03:42

---
 build.gradle |   52 +++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 49 insertions(+), 3 deletions(-)

diff --git a/build.gradle b/build.gradle
index 905d3bd..05c8bec 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,7 +1,53 @@
 // Top-level build file where you can add configuration options common to all sub-projects/modules.
-plugins {
-    id 'com.android.application' version '7.1.3' apply false
-    id 'com.android.library' version '7.1.3' apply false
+
+
+buildscript {
+    repositories {
+        google()
+        mavenCentral()
+        maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
+        maven { url = uri("https://plugins.gradle.org/m2/") }
+        maven {
+            url "https://jitpack.io"
+        }
+        maven { url 'https://developer.huawei.com/repo/' }//锛堝崕涓烘瀬鍏夋帹閫侊級
+
+    }
+    dependencies {
+        classpath "com.android.tools.build:gradle:4.1.2"
+        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
+        //澧炲姞AGC鎻掍欢閰嶇疆锛屼互渚胯兘鍚屾鈥渁gconnect-services.json鈥濇枃浠朵腑鐨勪俊鎭�.锛堝崕涓烘瀬鍏夋帹閫侊級
+        classpath 'com.huawei.agconnect:agcp:1.6.1.300'
+    }
+}
+
+allprojects {
+    repositories {
+        google()
+        mavenCentral()
+        maven { url 'https://maven.aliyun.com/repository/google' }
+        maven { url 'https://maven.aliyun.com/repository/jcenter' }
+        maven { url 'https://maven.aliyun.com/repository/public' }
+        maven { url "https://jitpack.io" }
+        maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
+        maven { url = uri("https://plugins.gradle.org/m2/") }
+        maven {
+            url 'https://maven.aliyun.com/repository/public'
+        }
+        maven {
+            credentials {
+                username '5f067ef57cd41782836ff14b'
+                password 'RyTWP(4APhV8'
+            }
+            url 'https://packages.aliyun.com/maven/repository/2012126-release-Mc0DNo/'
+        }
+        //锛堝崕涓烘瀬鍏夋帹閫侊級
+        maven {
+            url 'https://developer.huawei.com/repo/'
+        }
+    }
 }
 
 task clean(type: Delete) {

--
Gitblit v1.8.0