123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- apply plugin: 'com.android.application'
- android {
- compileSdkVersion 28
- buildToolsVersion "28.0.3"
- defaultConfig {
- applicationId "com.shanp.wodeshebao"
- minSdkVersion 16
- targetSdkVersion 28
- versionCode 52
- versionName "3.2.7"
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- multiDexEnabled true
- }
- signingConfigs {
- release {
- storeFile file('/Users/shanpin_lxw/Desktop/Leexw/shanpin/shanp_app/shanp.keystore')
- storePassword 'shanpin_20140731'
- keyAlias 'shanpin'
- keyPassword 'shanpin_20150330'
- }
- }
- buildTypes {
- release {
- minifyEnabled true
- shrinkResources true
- signingConfig signingConfigs.release
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- buildConfigField("String", "MAIN_SERVER", "\"http://www.wodeshebao.com\"")
- buildConfigField("String", "APP_SERVER", "\"http://app.wodeshebao.com\"")
- }
- debug {
- minifyEnabled false
- signingConfig signingConfigs.release
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- buildConfigField("String", "MAIN_SERVER", "\"http://120.79.211.173\"")
- buildConfigField("String", "APP_SERVER", "\"http://120.79.211.173\"")
- }
- }
- flavorDimensions "app"
- productFlavors {
- wodeshebao {
- dimension "app"
- applicationId "com.shanp.wodeshebao"
- manifestPlaceholders = [
- UMENG_APPKEY : "55ffd03ee0f55afd260034d7",
- BAIDU_LBSAPI_APPKEY: "0U7YmW3FvtXhOykChribkPBo8OZYY66G",
- SHARE_QQ_SCHEME : "tencent1104817093",
- ]
- buildConfigField("int", "PAY_CHANNEL_WECHAT", "1")
- buildConfigField("int", "NOTIFY_SERVICE_ID", "20140731")
- buildConfigField("String", "API_OPEN_SUFFIX", "\"wdsb\"")
- }
- wuxianyijin {
- dimension "app"
- applicationId "com.shanp.wuxianyijin"
- manifestPlaceholders = [
- UMENG_APPKEY : "57a15496e0f55a892d0017be",
- BAIDU_LBSAPI_APPKEY: "1xjOVKUvNsEkFcKcNKj5YPWWafG4zS5b",
- SHARE_QQ_SCHEME : "tencent1105699846",
- ]
- buildConfigField("int", "PAY_CHANNEL_WECHAT", "2")
- buildConfigField("int", "NOTIFY_SERVICE_ID", "20160918")
- buildConfigField("String", "API_OPEN_SUFFIX", "\"wxyj\"")
- }
- }
- sourceSets {
- main {
- jniLibs.srcDir 'libs'
- jni.srcDirs = []
- res.srcDirs = [
- 'src/main/res/layouts/buy',
- 'src/main/res/layouts/self',
- 'src/main/res/layouts/query',
- 'src/main/res/layouts/consult',
- 'src/main/res/layouts',
- 'src/main/res',
- ]
- }
- wodeshebao {
- assets.srcDirs = ['src/wodeshebao/assets']
- java.srcDirs = ['src/wodeshebao/java']
- res.srcDirs = ['src/wodeshebao/res']
- }
- wuxianyijin {
- assets.srcDirs = ['src/wuxianyijin/assets']
- java.srcDirs = ['src/wuxianyijin/java']
- res.srcDirs = ['src/wuxianyijin/res']
- }
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
- exclude group: 'com.android.support', module: 'support-annotations'
- })
- testImplementation 'junit:junit:4.12'
- implementation 'com.android.support:support-v4:28.0.0'
- implementation 'com.android.support:cardview-v7:28.0.0'
- implementation 'com.android.support:recyclerview-v7:28.0.0'
- implementation 'com.android.support:design:28.0.0'
- implementation 'com.github.bumptech.glide:glide:3.8.0'
- implementation 'com.google.code.gson:gson:2.8.5'
- implementation 'com.umeng.umsdk:analytics:8.0.0'
- implementation 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:5.1.6'
- implementation 'com.sobot.chat:sobotsdk:2.7.4'
- implementation 'com.squareup.okhttp3:okhttp:3.10.0'
- implementation 'in.srain.cube:ultra-ptr:1.0.11'
- implementation(name: 'alipaySdk-15.6.2-20190416165100-noUtdid', ext: 'aar')
- implementation(name: 'open_ad_sdk', ext: 'aar')
- implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.6'
- implementation project(':push')
- }
- }
|