build.gradle 2.54 KB
apply plugin: 'com.android.application'
android {
    compileSdkVersion 29
    buildToolsVersion "29.0.2"


    defaultConfig {
        applicationId "com.cnlive.strike"
        minSdkVersion 16
        targetSdkVersion 29
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        consumerProguardFiles 'consumer-rules.pro'
        manifestPlaceholders = [
                APP_ID                    : "802_jhbqccxw08",
                APP_KEY                   : "9c5619e9be747bb3b925dd215ca5923d86f12c09b9394f",
                APP_SECRET                : "1e6380cb347255e777f72b5aa60f41daa68443a132aaea",
                H5_CNLIVE                 : "http://wjjh5test.cnlive.com/cnnews.html",
                H5_DP                     : "http://wjjh5test.cnlive.com/cndr.html",
                APP_START_HOST            : "http://wjjh5test.cnlive.com",
                APP_WEB_START_HOST        : "wjjh5test.cnlive.com",
                BAIDU_APP_KEY             : "ibl8vbKkPVYBw5IOvR8tVGGo",
                BAIDU_APP_SECRET          : "QEd6n1qruIGG8AYkyLyqepksO2uUe0GK",
                PAY_ACCOUNT               : "wjj_app_test",
                WECHAT_APPID              : "wx9b7f9443a8ccf15a",
                SHARE_ICON                : "http://wjjh5test.cnlive.com/static/logo.png",
                SHARE_TITLE               : "快来加入中国网家家,优享美好生活!",
                SHARE_DOWNLOAD            : "https://fir.im/d35h",
                SHARE_APP_KEY             : "@string/SHARE_APP_KEY_DEBUG",
                SHARE_APP_SCERET          : "BNK5YVWfIBLir6WFaXTCNQLSFGTRs+Hnz5EkIfngJmOPLFBlUwmAbw==",
                SPECIAL_GROUP_MEMBER_LIMIT: 3
        ]
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }

}

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

    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    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:database')
    implementation project(path: ':core:network')
//    implementation project(path: ':core:util')
//    implementation project(path: ':core:encipher')
    implementation project(path: ':cloud:user')
}