apply plugin: 'com.android.application' //apply plugin: 'kotlin-android' //apply plugin: 'kotlin-android-extensions' android { signingConfigs { pda_storage { keyAlias 'uas_standard_esop_alias' keyPassword 'pdakeystone' storeFile file('C:\\sigin\\standard_esop.jks') storePassword 'pdakeystone' } } ndkVersion '22.1.7171670' compileSdkVersion rootProject.ext.android.compileSdkVersion buildToolsVersion rootProject.ext.android.buildToolsVersion defaultConfig { multiDexEnabled true applicationId "com.uas.standard_esop" minSdkVersion rootProject.ext.android.minSdkVersion targetSdkVersion rootProject.ext.android.targetSdkVersion versionCode rootProject.ext.android.versionCodeorg versionName rootProject.ext.android.versionName javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true } } } buildTypes { debug { } release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.pda_storage } } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } applicationVariants.all { variant -> variant.outputs.all { output -> def outputFile = output.outputFile def fileName if (outputFile != null && outputFile.name.endsWith('.apk')) { if (variant.buildType.name.equals('release')) { def releaseInfo = getVersionName() fileName = "ESOP_release_${releaseInfo}.apk" } else if (variant.buildType.name.equals('debug')) { def debugInfo = getVersionName() fileName = "UAS_esop_STORAGE_DEBUG_${debugInfo}.apk" } outputFileName = fileName } } } // compileOptions { // targetCompatibility 1.8 // sourceCompatibility 1.8 // } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'com.android.support.constraint:constraint-layout:2.0.1' implementation 'com.android.support:appcompat-v7:28.0.0' testImplementation 'junit:junit:4.12' api files('libs/volley.jar') api files('libs/gson-2.2.4.jar') api project(':pulltoreflashlibrary') api project(':progresslitelibrary') api project(':lib-zxing') api deps.appcompatV7 api deps.stetho api deps.fastjson api deps.xUtils api deps.okhttp api deps.BaseRecyclerViewAdapterHelper api deps.smartRefreshLayout api deps.smartRefreshHeader api deps.smartTable api deps.basePopup api deps.permisson api deps.recyclerview api project(':bluetooth') implementation deps.switchView implementation 'org.jetbrains:annotations:15.0' implementation(deps.MultiTypeFilePicker) { exclude group: "com.android.support" } implementation 'com.umeng.umsdk:common:9.4.0'// 必选 implementation 'com.umeng.umsdk:asms:1.2.3'// 必选 implementation 'com.umeng.umsdk:apm:1.4.0' // 错误分析升级为独立SDK,看crash数据请一定集成,可选 implementation 'org.greenrobot:eventbus:3.2.0' //XBanner implementation 'com.xhb:xbanner:1.3.1' implementation "io.reactivex.rxjava3:rxjava:3.1.2" implementation 'io.reactivex.rxjava3:rxandroid:3.0.0' implementation "org.java-websocket:Java-WebSocket:1.4.0" implementation 'org.codelibs:jcifs:2.1.31' // implementation 'com.google.android.exoplayer:exoplayer-core:2.15.1' implementation 'cn.jzvd:jiaozivideoplayer:7.4.2' implementation 'com.github.chrisbanes:PhotoView:2.0.0' // implementation 'com.lxj:xpopup:2.1.7' // implementation 'com.lxj:easyadapter:1.0.0' // implementation 'com.github.bumptech.glide:glide:4.10.0' implementation 'com.github.bumptech.glide:glide:4.12.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0' } def getVersionName() { return rootProject.ext.android.versionName }