wjc
5 天以前 abdc219259c399829f42b23f7810507dfb55e8f1
build.gradle
@@ -1,9 +1,9 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from:"config.gradle"
buildscript {
    ext {
        agp_version = '4.1.3'
        agp_version = '8.7.3'
    }
    repositories {
        google()
@@ -23,7 +23,7 @@
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
        //增加AGC插件配置,以便能同步“agconnect-services.json”文件中的信息.(华为极光推送)
        classpath 'com.huawei.agconnect:agcp:1.6.1.300'
        classpath 'com.huawei.agconnect:agcp:1.9.1.300'
        classpath 'com.google.gms:google-services:4.3.15'  // Google Services 插件
    }
}
@@ -53,6 +53,7 @@
            url 'https://developer.huawei.com/repo/'
        }
        maven { url 'https://repo1.maven.org/maven2/' }
        maven {  url 'https://maven.aliyun.com/nexus/content/repositories/releases/' }
    }
}