1234567891011121314151617181920212223242526272829303132333435363738 |
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- // 引入自定义Gradle配置文件
- apply from: "config.gradle"
- buildscript {
- repositories {
- google()
- // jcenter()
- mavenCentral()
- mavenLocal()
- maven { url 'https://jitpack.io' }
- maven { url 'http://maven.aliyun.com/nexus/content/groups/public/'}
- maven { url "https://mirrors.tencent.com/nexus/repository/maven-public/" }
- }
- dependencies {
- classpath "com.android.tools.build:gradle:4.1.1"
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72"
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
- }
- allprojects {
- repositories {
- google()
- // jcenter()
- mavenCentral()
- mavenLocal()
- maven { url 'https://jitpack.io' }
- maven { url 'http://maven.aliyun.com/nexus/content/groups/public/'}
- maven { url "https://mirrors.tencent.com/nexus/repository/maven-public/" }
- }
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
|