apply plugin: 'com.android.application' apply plugin: 'com.huawei.agconnect' android { compileSdkVersion 29 buildToolsVersion "29.0.3" viewBinding.enabled = true defaultConfig { applicationId "com.buyao.app" minSdkVersion 19 targetSdkVersion 29 versionCode 1 versionName "1.1.0" multiDexEnabled true ndk { abiFilters 'armeabi-v7a', 'arm64-v8a' } testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { debug{ minifyEnabled false buildConfigField("String", "SERVER", "\"http://app.test.buyao.com\"") } release { minifyEnabled true zipAlignEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' buildConfigField("String", "SERVER", "\"http://app.buyao.com\"") } } signingConfigs { debug { storeFile rootProject.file('buyao.jks') storePassword 'buyao_20200822' keyAlias 'BuYao' keyPassword 'buyao_20200822' } release { storeFile rootProject.file('../buyao.jks') storePassword 'buyao_20200822' keyAlias 'BuYao' keyPassword 'buyao_20200822' } } 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/login', 'src/main/res/layouts/user', 'src/main/res/layouts/wallet', 'src/main/res/layouts/room' ] } } compileOptions { targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) implementation files('libs/MiPush_SDK_Client_3_6_9.jar') testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' implementation 'com.google.android.material:material:1.2.1' implementation 'io.reactivex.rxjava2:rxandroid:2.1.1' implementation 'io.reactivex.rxjava2:rxjava:2.2.13' implementation "org.reactivestreams:reactive-streams:1.0.3" implementation 'com.squareup.retrofit2:retrofit:2.6.2' implementation 'com.squareup.retrofit2:adapter-rxjava2:2.6.2' implementation 'com.squareup.retrofit2:converter-gson:2.6.2' implementation 'com.squareup.okhttp3:okhttp:3.12.1' implementation 'com.squareup.okhttp3:logging-interceptor:3.12.0' implementation 'com.github.bumptech.glide:glide:4.11.0' implementation 'jp.wasabeef:glide-transformations:4.1.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0' implementation 'com.alibaba:fastjson:1.2.60' implementation 'com.aliyun.dpa:oss-android-sdk:2.9.3' implementation(name: 'aliphoneauth-2.10.1', ext: 'aar') implementation(name: 'alipaySdk-15.7.9-20200727142846', ext: 'aar') implementation 'com.aliyun.video.android:svideosnap:3.16.2'//短视频基础版SDK必须依赖 implementation 'com.aliyun.video.android:core:1.2.2' //核心库必须依赖 implementation 'com.alivc.conan:AlivcConan:1.0.3'//核心库必须依赖 implementation 'com.aliyun.video.android:AlivcFFmpeg:2.0.0'//必须依赖 implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.47' implementation 'com.scwang.smart:refresh-layout-kernel:2.0.1' implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0" implementation 'com.github.chrisbanes:PhotoView:2.3.0' implementation 'com.contrarywind:Android-PickerView:4.1.9' implementation 'com.github.yalantis:ucrop:2.2.6' implementation 'com.tencent:mmkv-static:1.2.2' implementation 'com.umeng.umsdk:common:9.1.0' implementation 'com.umeng.umsdk:asms:1.1.3' implementation 'com.umeng.umsdk:crash:0.0.4' implementation 'com.umeng.umsdk:oaid_mi:1.0.0' implementation 'com.umeng.umsdk:oaid_oppo:1.0.4' implementation 'com.umeng.umsdk:oaid_vivo:1.0.0.1' implementation "androidx.room:room-runtime:2.2.5" annotationProcessor "androidx.room:room-compiler:2.2.5" implementation 'com.shuyu:gsyVideoPlayer-java:7.1.6' implementation 'com.shuyu:gsyVideoPlayer-ex_so:7.1.6' implementation 'top.zibin:Luban:1.1.8' implementation 'com.airbnb.android:lottie:3.4.0' implementation 'io.agora.rtc:full-sdk:3.1.2' //implementation 'io.agora:agoraplayer:1.1.2' implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:5.5.7' implementation project(path: ':faceplatform-ui') //debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.5' implementation 'cn.rongcloud.sdk:im_lib:4.0.0.1' implementation 'com.huawei.hms:push:4.0.2.300' implementation(name: 'vivo_pushsdk-v2.9.0.0', ext: 'aar') }