12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- apply plugin: 'com.android.application'
- //apply plugin: 'kotlin-android'
- //apply plugin: 'kotlin-android-extensions'
- android {
- signingConfigs {
- pda_storage {
- keyAlias 'pda_storage'
- keyPassword 'pdakeystone'
- storeFile file('C:/sigin/pda_storage.jks')
- storePassword 'pdakeystone'
- }
- }
- compileSdkVersion rootProject.ext.android.compileSdkVersion
- buildToolsVersion rootProject.ext.android.buildToolsVersion
- defaultConfig {
- applicationId "com.uas.storage_special"
- minSdkVersion rootProject.ext.android.minSdkVersion
- targetSdkVersion rootProject.ext.android.targetSdkVersion
- versionCode rootProject.ext.android.versionCode
- versionName rootProject.ext.android.versionName
- javaCompileOptions {
- annotationProcessorOptions {
- includeCompileClasspath = true
- }
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- 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 = "UAS_STORAGE_MANAGE_RELEASE_${releaseInfo}.apk"
- } else if (variant.buildType.name.equals('debug')) {
- def debugInfo = getVersionName()
- fileName = "UAS_STORAGE_MANAGE_DEBUG_${debugInfo}.apk"
- }
- outputFileName = fileName
- }
- }
- }
- compileOptions {
- targetCompatibility 1.8
- sourceCompatibility 1.8
- }
- }
- dependencies {
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- // implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
- 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
- implementation 'com.android.support:recyclerview-v7:26.1.0'
- }
- def getVersionName() {
- return rootProject.ext.android.versionName
- }
|