This commit is contained in:
jia 2024-12-27 19:56:42 +08:00
parent 32921f93f3
commit f1fda0bab1
2 changed files with 15 additions and 24 deletions

View File

@ -8,18 +8,16 @@ buildscript {
maven { url 'https://maven.aliyun.com/repository/public' } maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
maven {url 'https://dl.google.com/dl/android/maven2/'} maven { url 'https://dl.google.com/dl/android/maven2/'}
maven {url 'https://developer.huawei.com/repo/'} maven { url 'https://developer.huawei.com/repo/'}
maven { maven { url 'https://developer.hihonor.com/repo/'}
url 'https://developer.hihonor.com/repo/'
}
mavenCentral() mavenCentral()
google() google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:7.4.2' classpath 'com.android.tools.build:gradle:7.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.huawei.agconnect:agcp:1.6.0.300' classpath 'com.huawei.agconnect:agcp:1.7.2.300'
} }
} }
allprojects { allprojects {
@ -30,17 +28,10 @@ allprojects {
maven {url 'https://dl.google.com/dl/android/maven2/'} maven {url 'https://dl.google.com/dl/android/maven2/'}
maven { url 'https://developer.huawei.com/repo/' } maven { url 'https://developer.huawei.com/repo/' }
maven { url 'https://jitpack.io' } maven { url 'https://jitpack.io' }
maven { maven { url 'https://maven.aliyun.com/nexus/content/repositories/releases/'}
url 'https://maven.aliyun.com/nexus/content/repositories/releases/' maven { url "https://mvn.getui.com/nexus/content/repositories/releases/"}
} maven { url 'https://developer.huawei.com/repo/'}
maven { url 'https://developer.hihonor.com/repo/'}
maven {
url "https://mvn.getui.com/nexus/content/repositories/releases/"
}
maven {url 'https://developer.huawei.com/repo/'}
maven {
url 'https://developer.hihonor.com/repo/'
}
mavenCentral() mavenCentral()
google() google()
} }

View File

@ -58,19 +58,19 @@ android {
XIAOMI_APP_KEY : "5491742138890", XIAOMI_APP_KEY : "5491742138890",
// OPPO // OPPO
OPPO_APP_KEY : "", OPPO_APP_KEY : "3e7e16kiyP2CC0GoC04Ssc0kg",
OPPO_APP_SECRET: "", OPPO_APP_SECRET: "1053C651058a2d463f9E88509dBCf56A",
// VIVO // VIVO
VIVO_APP_ID : "", VIVO_APP_ID : "105834651",
VIVO_APP_KEY : "", VIVO_APP_KEY : "52146813dc544332daf4bcfa90dfbe65",
// //
MEIZU_APP_ID : "", MEIZU_APP_ID : "113398",
MEIZU_APP_KEY : "", MEIZU_APP_KEY : "042ca143c7b74c98bde699b0b045b429",
// 耀 // 耀
HONOR_APP_ID : "", HONOR_APP_ID : "104474114",
] ]
} }