50 lines
1.7 KiB
Groovy
50 lines
1.7 KiB
Groovy
|
apply plugin: 'com.android.application'
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion 26
|
||
|
defaultConfig {
|
||
|
applicationId "com.xixun.display"
|
||
|
minSdkVersion 15
|
||
|
targetSdkVersion 26
|
||
|
versionCode 40
|
||
|
versionName "5.1.8.7"
|
||
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||
|
|
||
|
}
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
android.applicationVariants.all { variant ->
|
||
|
variant.outputs.all { output ->
|
||
|
def outputFile = output.outputFile
|
||
|
if (outputFile != null && outputFile.name.endsWith('.apk')) {
|
||
|
outputFileName = "display_v${defaultConfig.versionName}.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')
|
||
|
}
|