| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- buildscript {
- repositories {
- google()
- mavenCentral()
- jcenter()
-
- }
- dependencies {
- classpath("com.android.tools.build:gradle:4.0.1")
- classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
- classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- classpath("com.otaliastudios.tools:publisher:0.3.3")
- classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.0")
- }
- }
- allprojects {
- repositories {
- google()
- mavenCentral()
- jcenter()
- maven { url 'https://jitpack.io' }
- }
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
- // 统一编译版本
- ext.versions = [
- // Project
- minSdk : 21,
- compileSdk : 29,
- targetSdk : 29,
- buildTools : '29.0.2',
- ]
|