| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- apply plugin: 'com.android.application'
- android {
- compileSdkVersion rootProject.ext.android.compileSdkVersion
- defaultConfig {
- applicationId rootProject.ext.android.applicationId
- minSdkVersion 21
- targetSdkVersion rootProject.ext.android.targetSdkVersion
- versionCode rootProject.ext.android.versionCode
- versionName rootProject.ext.android.versionName
- multiDexEnabled true
- ndk {
- abiFilters "armeabi-v7a", "arm64-v8a","armeabi"
- }
- packagingOptions{
- doNotStrip "/armeabi-v7a/.so"
- doNotStrip "/arm64-v8a/.so" }
- }
- buildTypes {
- release {
- minifyEnabled true
- zipAlignEnabled true
- //移除无用资源
- shrinkResources false
- signingConfig signingConfigs.debug
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- debug {
- minifyEnabled false
- zipAlignEnabled true
- //移除无用资源
- shrinkResources false
- signingConfig signingConfigs.debug
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- dataBinding {
- enabled true
- }
- lintOptions {
- checkReleaseBuilds false
- abortOnError false
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- configurations.all {
- resolutionStrategy {
- force 'androidx.core:core-ktx:1.6.0'
- force 'androidx.core:core:1.6.0'
- force 'androidx.appcompat:appcompat:1.2.0'
- force "androidx.activity:activity:1.3.1"
- force "androidx.fragment:fragment:1.3.1"
- }
- }
- sourceSets {
- main {
- jniLibs.srcDirs=['libs']
- }
- }
- signingConfigs {
- debug {
- storeFile file('keystore.jks')
- storePassword "123456"
- keyAlias "keystore"
- keyPassword "123456"
- }
- }
- }
- dependencies {
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- //support
- implementation rootProject.ext.support["design"]
- //下拉刷新,上拉加载
- implementation 'com.lcodecorex:tkrefreshlayout:1.0.7'
- //底部tabBar
- implementation('me.majiajie:pager-bottom-tab-strip:2.2.5') {
- exclude group: 'com.android.support'
- }
- //MVVMHabit
- implementation project(':mvvmhabit')
- implementation project(':ocr_ui')
- implementation files('libs/ocrsdk.aar')
- implementation files('libs/faceplatform-ui-release-6.1.aar')
- implementation files('libs/lib-logic-1.0.3-release.aar')
- implementation files('libs/WbCloudFaceLiveSdk-v4.4.1.2-1f740b1e.aar')
- //2. 云common SDK
- implementation files('libs/WbCloudNormal-v5.1.0-f9eb035.aar')
- implementation files('libs/LiteAVSDK_Professional_9.5.11207.aar')
- implementation files('libs/lib-LiantianStaticLiteAes-3.6.0.4-release.aar')
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
- implementation project(path: ':selector')
- // implementation rootProject.ext.dependencies.MVVMHabit
- //内存泄漏测试
- // debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.3'
- // debugImplementation 'com.squareup.leakcanary:leakcanary-support-fragment:1.6.3'
- implementation 'com.google.android.exoplayer:exoplayer-core:2.10.5'
- implementation 'com.google.android.exoplayer:exoplayer-ui:2.10.5'
- implementation 'com.contrarywind:Android-PickerView:3.2.5'
- implementation 'com.github.mcxtzhang:SwipeDelMenuLayout:V1.2.5'
- implementation files('libs\\IPlaySDK.jar')
- }
|