build.gradle 1.67 KB
apply plugin: 'com.android.library'

android {
//    compileSdkVersion 29
//    buildToolsVersion "29.0.2"
//
//
//    defaultConfig {
//        minSdkVersion 21
//        targetSdkVersion 29
//        versionCode 1
//        versionName "1.0"
//
//        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
//        consumerProguardFiles 'consumer-rules.pro'
//    }

    buildTypes {
        debug {
            resValue("string", "ACCOUNT_LABEL", "网家家 内测")
            resValue("string", "ACCOUNT_TYPE", "com.cnlive.strike.debug.AccountType")
            resValue("string", "ACCOUNT_PROVIDE", "com.cnlive.strike.debug.AccountProvide")
            zipAlignEnabled true
        }
        release {
            resValue("string", "ACCOUNT_LABEL", "网家家")
            resValue("string", "ACCOUNT_TYPE", "com.cnlive.strike.AccountType")
            resValue("string", "ACCOUNT_PROVIDE", "com.cnlive.strike.AccountProvide")
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            zipAlignEnabled true
        }
    }
    dataBinding {
        enabled true
    }

}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])

    implementation 'androidx.appcompat:appcompat:1.1.0'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

    implementation project(path: ':core:network')
    implementation "com.cnlive.libs:emoj:$rootProject.libEmoj"
    //图片选择器
    implementation "com.cnlive.libs:mediapicker:$rootProject.libMediaPicker"

}