apply plugin: 'com.android.application' android { compileSdkVersion 28 buildToolsVersion '28.0.3' defaultConfig { applicationId "com.xsbanruo.app" minSdkVersion 17 targetSdkVersion 28 versionCode 131 versionName "2.2.0" multiDexEnabled true ndk { abiFilters 'armeabi-v7a', 'arm64-v8a' } } packagingOptions { doNotStrip "*/armeabi-v7a/*.so" doNotStrip "*/arm64-v8a/*.so" exclude 'META-INF/proguard/androidx-annotations.pro' } 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/rank', 'src/main/res/layouts/sound', 'src/main/res/layouts/account', 'src/main/res/layouts/pay', 'src/main/res/layouts/practice' ] } } compileOptions { targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') testImplementation 'junit:junit:4.12' implementation project(':uikit') implementation project(':update') 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(name: 'miit_mdid_1.0.10', ext: 'aar') implementation 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:5.1.6' implementation 'com.umeng.umsdk:analytics:8.0.0' implementation 'com.umeng.umsdk:common:2.2.2' implementation 'com.aliyun.dpa:oss-android-sdk:2.9.2' implementation 'com.cleveroad:fan-layout-manager:1.0.5' implementation 'com.google.android.exoplayer:exoplayer-core:2.11.3' implementation "org.reactivestreams:reactive-streams:1.0.3" implementation 'com.shanp.android:base-rx-mvc:1.1.1' implementation('com.shanp.android:sms:1.0.6') { exclude group: 'com.shanp.android', module: 'base-rx-mvc' } implementation 'com.shanp.android:push-umeng:1.0.1' implementation 'com.shanp.android:share:1.0.1' implementation "com.github.donkingliang:LabelsView:1.6.1" implementation(name: 'open_ad_sdk', ext: 'aar') //2.9.5.5 implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.7' implementation "androidx.room:room-runtime:2.2.5" implementation 'androidx.room:room-rxjava2:2.2.5' annotationProcessor "androidx.room:room-compiler:2.2.5" implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.47' implementation 'com.aliyun.dpa:oss-android-sdk:2.9.2' implementation 'com.airbnb.android:lottie:3.4.0' }