apply plugin: 'com.android.application' android { compileSdkVersion 28 buildToolsVersion '28.0.3' defaultConfig { applicationId "com.xsbanruo.app" minSdkVersion 16 targetSdkVersion 28 versionCode 116 versionName "2.0.1" multiDexEnabled true } signingConfigs { release { storeFile file('/Users/shanpin_lxw/Desktop/Leexw/shanpin/shanp_app/xsbanruo.jks') storePassword 'xsbanruo_20170329' keyAlias 'xsbanruo' keyPassword 'xsbanruo_20170329' } } buildTypes { release { minifyEnabled true zipAlignEnabled true shrinkResources true signingConfig signingConfigs.release proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' buildConfigField("String", "APP_SERVER", "\"http://logic.xsbanruo.com/bore\"") buildConfigField("String", "WEB_SERVER", "\"http://www.xsbanruo.com/borew\"") buildConfigField("String", "FILE_SERVER", "\"http://www.xsbanruo.com/borew/file\"") buildConfigField("String", "CENTER_SERVER", "\"http://service.xsbanruo.com\"") } debug { minifyEnabled false signingConfig signingConfigs.release proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' buildConfigField("String", "APP_SERVER", "\"http://120.79.211.173:7100/bore\"") buildConfigField("String", "WEB_SERVER", "\"http://120.79.211.173:7101/borew\"") buildConfigField("String", "FILE_SERVER", "\"http://120.79.211.173:7101/borew/file\"") buildConfigField("String", "CENTER_SERVER", "\"http://120.79.211.173:7000\"") } } sourceSets { main { jniLibs.srcDirs = ['libs'] res.srcDirs = [ 'src/main/res', 'src/main/res/layouts', 'src/main/res/layouts/app', 'src/main/res/layouts/common', 'src/main/res/layouts/content', 'src/main/res/layouts/follow', 'src/main/res/layouts/user', 'src/main/res/layouts/question', 'src/main/res/layouts/sound', 'src/main/res/layouts/wallet', 'src/main/res/layouts/pay', 'src/main/res/layouts/practice' ] } } compileOptions { targetCompatibility JavaVersion.VERSION_1_8 } packagingOptions { exclude 'META-INF/proguard/androidx-annotations.pro' } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') testImplementation 'junit:junit:4.12' implementation 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:5.1.6' implementation 'com.umeng.umsdk:analytics:8.0.0' implementation(name: 'alipaySdk-15.6.2-20190416165100-noUtdid', ext: 'aar') implementation(name: 'AlivcPlayer-3.4.10', ext: 'aar') implementation(name: 'AlivcReporter-1.2', ext: 'aar') implementation 'com.aliyun.dpa:oss-android-sdk:2.5.0' implementation 'com.cleveroad:fan-layout-manager:1.0.5' implementation 'com.google.android.exoplayer:exoplayer-core:2.10.3' implementation project(':base') implementation project(':uikit') implementation project(':push') implementation project(':share') implementation project(':update') implementation project(':sms') }