// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {

    // 混淆开关
    ext.MINIFY_ENABLE = true
    // ndk版本
    ext.NDK_VERSION = '21.3.6528147'
    // kotlin版本
    ext.KOTLIN_VERSION = '1.5.10'
    // compileSdkVersion
    ext.COMPILE_SDK_VERSION = 30
    // buildToolsVersion
    ext.BUILD_TOOLS_VERSION = '30.0.3'
    // minSdkVersion
    ext.MIN_SDK_VERSION = 16
    // targetSdkVersion
    ext.TARGET_SDK_VERSION = 30

    repositories {
        google()
        mavenCentral()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:4.1.3'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
//        classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
        //jitpack
        classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files

    }
}

allprojects {
    repositories {
        google()
        mavenCentral()
        jcenter()
        maven { url 'https://jitpack.io' }
//        maven { url 'http://175.97.139.186:8081/repository/android-maven/' }

    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}