wjc
3 天以前 8f4a21c13de88f6c34705f0660ec54ec5e032aa4
build.gradle
@@ -1,5 +1,5 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from:"config.gradle"
buildscript {
    ext {
@@ -14,6 +14,7 @@
            url "https://jitpack.io"
        }
        maven { url 'https://developer.huawei.com/repo/' }//(华为极光推送)
        maven { url 'https://repo1.maven.org/maven2/' }
    }
    dependencies {
@@ -23,6 +24,7 @@
        // in the individual module build.gradle files
        //增加AGC插件配置,以便能同步“agconnect-services.json”文件中的信息.(华为极光推送)
        classpath 'com.huawei.agconnect:agcp:1.6.1.300'
        classpath 'com.google.gms:google-services:4.3.15'  // Google Services 插件
    }
}
@@ -50,6 +52,7 @@
        maven {
            url 'https://developer.huawei.com/repo/'
        }
        maven { url 'https://repo1.maven.org/maven2/' }
    }
}