2026-01-06 17:18:13 +08:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
|
|
|
|
|
|
ext {
|
|
|
|
|
agp_version = '8.7.3'
|
|
|
|
|
}
|
|
|
|
|
repositories {
|
|
|
|
|
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
|
|
|
|
|
maven { url 'https://maven.aliyun.com/repository/public' }//jcenter
|
|
|
|
|
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }//gradle-plugin
|
|
|
|
|
maven { url 'https://maven.aliyun.com/repository/central' }//central
|
|
|
|
|
maven { url 'https://maven.aliyun.com/repository/google' }//google
|
|
|
|
|
google()
|
|
|
|
|
jcenter()
|
|
|
|
|
mavenCentral()
|
|
|
|
|
|
|
|
|
|
maven { url "https://jitpack.io" }
|
|
|
|
|
|
|
|
|
|
maven {
|
|
|
|
|
url "https://plugins.gradle.org/m2/"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
dependencies {
|
|
|
|
|
|
|
|
|
|
classpath "com.android.tools.build:gradle:$agp_version"
|
|
|
|
|
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
|
|
|
|
|
classpath "net.ltgt.gradle:gradle-errorprone-plugin:0.6"
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
|
repositories {
|
|
|
|
|
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
|
|
|
|
|
maven { url 'https://maven.aliyun.com/repository/public' }//jcenter
|
|
|
|
|
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }//gradle-plugin
|
|
|
|
|
maven { url 'https://maven.aliyun.com/repository/central' }//central
|
|
|
|
|
maven { url 'https://maven.aliyun.com/repository/google' }//google
|
|
|
|
|
flatDir {
|
|
|
|
|
dirs 'libs'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
google()
|
|
|
|
|
jcenter()
|
|
|
|
|
maven { url "https://jitpack.io"}
|
|
|
|
|
maven { url "https://www.jitpack.io" }
|
|
|
|
|
// maven { url 'https://dl.bintray.com/aweme-open-sdk-team/public' }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
|
delete rootProject.buildDir
|
|
|
|
|
}
|