build.gradle 1.65 KB
Newer Older
代凡's avatar
代凡 committed
1 2 3 4 5 6 7 8 9 10
apply plugin: 'com.android.library'

android {
    compileSdkVersion rootProject.ext.compileSdkVersion
    defaultConfig {
        minSdkVersion rootProject.ext.minSdkVersion
        targetSdkVersion rootProject.ext.targetSdkVersion
        versionCode rootProject.ext.versionCode
        versionName rootProject.ext.versionName
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
11
        consumerProguardFiles "proguard-rules.pro"
代凡's avatar
代凡 committed
12 13 14
    }
    buildTypes {
        release {
15
            minifyEnabled true
代凡's avatar
代凡 committed
16 17
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
代凡's avatar
代凡 committed
18 19
        qatest {
        }
代凡's avatar
代凡 committed
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
    }
    lintOptions {
        checkReleaseBuilds false
        // Or, if you prefer, you can continue to check for errors in release builds,
        // but continue the build even when errors are found:
        abortOnError false
    }
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:27.1.1'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
    api 'com.android.support:design:27.1.1'
36
    api 'com.easefun.polyv:polyvSDKCloudClass:0.16.1'
代凡's avatar
代凡 committed
37
    //glide
38 39 40 41 42 43
    api ('jp.wasabeef:glide-transformations:3.3.0'){
//        exclude group:'com.github.bumptech.glide',module:'glide'
    }
    api ("com.github.bumptech.glide:okhttp3-integration:4.7.1"){
//        exclude group:'com.github.bumptech.glide',module:'glide'
    }
代凡's avatar
代凡 committed
44 45
    annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
}