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

static def stringValue(def value) {
    return "\"${value}\""
}


android {

    defaultConfig {
    }

    buildTypes {
        debug {
            resValue("string", "ACCOUNT_LABEL", "网家家 内测")
            resValue("string", "ACCOUNT_TYPE", "com.c nlive.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 project(path: ':core:network')
}