apply plugin: 'com.android.application' android { compileSdkVersion 26 buildToolsVersion "26.0.0" defaultConfig { applicationId "com.xixun.display" minSdkVersion 15 targetSdkVersion 26 versionCode 104 versionName "2.0_v_4.1" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" ndk { abiFilters "armeabi-v7a" } } signingConfigs { Display { keyAlias 'xixuncard' keyPassword '66399266' storeFile file('D:\\develop\\data\\data\\display\\SignKey_Sysolution.jks') storePassword '66399266' } C {//49.1 keyAlias 'xixun' keyPassword '123456' storeFile file('D:/develop/xixun/signedFile/keystore/xixun-c.keystore') storePassword '123456' } D {//3288 keyAlias 'xixun' keyPassword '123456' storeFile file('D:/develop/xixun/signedFile/keystore/xixun-d.keystore') storePassword '123456' } M {//meige keyAlias 'xixun' keyPassword '123456' storeFile file('D:/develop/xixun/signedFile/keystore/xixun-m.keystore') storePassword '123456' } } // xixuncard 66399266 buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.C } debug { signingConfig signingConfigs.C } } compileOptions { targetCompatibility = 1.8 sourceCompatibility = 1.8 } android.applicationVariants.all { variant -> variant.outputs.all { output -> def outputFile = output.outputFile if (outputFile != null && outputFile.name.endsWith('.apk')) { // outputFileName = "display${defaultConfig.versionName}-Y08.apk" outputFileName = "display${defaultConfig.versionName}-C-M7s.apk" // outputFileName = "/home/joey/work/app/card-system/system-core/ralease/" + fileName } } } /*sourceSets { main { jniLibs.srcDirs = ['libs'] } }*/ } dependencies { //compile 'com.android.support:multidex:1.0.1' implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'com.android.support:appcompat-v7:26.1.0' implementation 'com.android.support.constraint:constraint-layout:1.0.2' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' implementation files('libs/task_dto5.jar') // implementation files('libs/xixun_card_setting_1.2.2.jar') //implementation files('libs/org.apache.commons.codec-1.8.jar') implementation 'com.koushikdutta.async:androidasync:2.2.1' implementation files('src/main/java/libs/gson-2.2.4.jar') implementation files('libs/jackson.jar') // implementation files('libs/xixun_card_setting_1.2.2.jar') implementation files('libs/xixun_alahover.jar') implementation files('libs/zip4j_1.3.1.jar') }