build.gradle 948 字节
Newer Older
C
cmj 已提交
1 2 3 4 5 6
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
B
Blankj 已提交
7
        classpath 'com.android.tools.build:gradle:2.3.3'
C
cmj 已提交
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
        classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
        classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
B
Blankj 已提交
23 24 25 26 27 28 29 30 31
}

ext {
    // Sdk and tools
    compileSdkVersion = 25
    buildToolsVersion = '25.0.3'
    minSdkVersion = 14
    targetSdkVersion = 25

B
Blankj 已提交
32 33
    versionCode = 100800500
    versionName = '1.8.5'
B
Blankj 已提交
34 35 36 37 38 39

    // App dependencies
    supportVersion = '25.3.1'

    junitVersion = '4.12'
    robolectricVersion = '3.1.2'
C
cmj 已提交
40
}