apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { compileSdkVersion 30 buildToolsVersion '29.0.3' buildFeatures{ viewBinding = true } defaultConfig { applicationId "com.xsbanruo.app" minSdkVersion 17 targetSdkVersion 30 versionCode 140 versionName "2.3.1" 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 { debug { storeFile file('/Users/shanpin_lxw/Desktop/Leexw/shanpin/shanp_app/xsbanruo.jks') storePassword 'xsbanruo_20170329' keyAlias 'xsbanruo' keyPassword 'xsbanruo_20170329' } 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\"") } 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\"") } } 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', 'src/main/res/layouts/pk', 'src/main/res/layouts/words', ] } } compileOptions { targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') testImplementation 'junit:junit:4.12' implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation 'androidx.core:core-ktx:1.3.2' implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9" implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.0-beta01" implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' 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.2' implementation 'com.shanp.android:sms:1.0.8' implementation 'com.shanp.android:push-umeng:1.0.1' implementation 'com.shanp.android:share:1.0.2' 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.airbnb.android:lottie:3.4.0' implementation 'com.umeng.umsdk:xiaomi-push:3.7.0' implementation 'com.umeng.umsdk:xiaomi-umengaccs:1.1.4' implementation 'com.umeng.umsdk:vivo-push:2.3.5' implementation 'com.umeng.umsdk:vivo-umengaccs:1.1.0' implementation 'com.umeng.umsdk:oppo-push:2.0.2' implementation 'com.umeng.umsdk:oppo-umengaccs:1.0.6' implementation 'com.umeng.umsdk:huawei-basetb:2.6.3.306' implementation 'com.umeng.umsdk:huawei-pushtb:2.6.3.306' implementation 'com.umeng.umsdk:huawei-umengaccs:1.2.4' implementation 'id.zelory:compressor:3.0.1' implementation 'com.github.chrisbanes:PhotoView:2.3.0' }