build.gradle 973 Bytes
Newer Older
UIUANG\Zsc's avatar
UIUANG\Zsc committed
1 2 3 4
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    ext.kotlin_version = "1.5.20"
    repositories {
UIUANG\Zsc's avatar
UIUANG\Zsc committed
5 6 7
        maven { url 'https://maven.aliyun.com/repository/public' }
        maven { url 'https://maven.aliyun.com/repository/google' }
        maven { url "https://jitpack.io" }
UIUANG\Zsc's avatar
UIUANG\Zsc committed
8 9 10 11 12 13 14 15 16 17 18
        mavenCentral()

    }
    dependencies {
        classpath "com.android.tools.build:gradle:4.2.1"
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

allprojects {
    repositories {
UIUANG\Zsc's avatar
UIUANG\Zsc committed
19 20 21
        maven { url 'https://maven.aliyun.com/repository/public' }
        maven { url 'https://maven.aliyun.com/repository/google' }
        maven { url "https://jitpack.io" }
UIUANG\Zsc's avatar
UIUANG\Zsc committed
22 23 24 25 26 27 28
        mavenCentral()

    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
UIUANG\Zsc's avatar
UIUANG\Zsc committed
29 30 31 32 33 34 35
}

ext {
    kotlin_version = "1.5.20"
    core_ktx_version = "1.3.2"
    appcompat_version = "1.3.0"
    material_version = "1.2.1"
UIUANG\Zsc's avatar
UIUANG\Zsc committed
36
}