build.gradle 1.4 KB
Newer Older
singwhatiwanna's avatar
singwhatiwanna 已提交
1 2 3 4
apply plugin: 'com.android.application'
apply plugin: 'com.didi.virtualapk.host'

android {
5 6
    compileSdkVersion VERSION_COMPILE_SDK
    buildToolsVersion VERSION_BUILD_TOOLS
singwhatiwanna's avatar
singwhatiwanna 已提交
7 8 9

    defaultConfig {
        applicationId "com.didi.virtualapk"
10 11
        minSdkVersion VERSION_MIN_SDK
        targetSdkVersion VERSION_TARGET_SDK
singwhatiwanna's avatar
singwhatiwanna 已提交
12 13 14
        versionCode 3
        versionName "1.0.0"
    }
15 16 17
    compileOptions {
        sourceCompatibility SOURCE_COMPATIBILITY
    }
singwhatiwanna's avatar
singwhatiwanna 已提交
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47

    signingConfigs {
        release {
            storeFile file("../keystore/test.keystore")
            storePassword "test123456"
            keyAlias "test"
            keyPassword "test123456"
        }
    }

    buildTypes {
        debug {
            minifyEnabled false
            shrinkResources false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
        release {
            minifyEnabled true
            shrinkResources true
            signingConfig signingConfigs.release
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    lintOptions {
        abortOnError false
    }
}

dependencies {
48 49
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    testImplementation 'junit:junit:4.12'
singwhatiwanna's avatar
singwhatiwanna 已提交
50

51
    implementation 'com.android.support:appcompat-v7:23.4.0'
S
superq_sky 已提交
52
    implementation 'com.didi.virtualapk:core:0.9.8'
53
//    implementation project (':CoreLibrary')
singwhatiwanna's avatar
singwhatiwanna 已提交
54 55

}