blob: 08a41f165ce3a3c1d9ff921bd667c6b7ff6e4d08 [file] [log] [blame]
plugins {
id 'com.gladed.androidgitversion' version '0.4.9'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.supwisdom.posa711"
minSdkVersion 22
targetSdkVersion 28
versionName androidGitVersion.name()
versionCode androidGitVersion.code()
ndk {
abiFilters "arm64-v8a"
}
multiDexEnabled true
}
signingConfigs {
release {
storeFile file("$rootDir/keys-app.jks")
storePassword "123456"
keyAlias "sup"
keyPassword "123456"
v1SigningEnabled true
v2SigningEnabled true
}
sign {
storeFile file("$rootDir/keys-sign.jks")
storePassword "123456"
keyAlias "sup"
keyPassword "android"
v1SigningEnabled true
v2SigningEnabled true
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.sign
}
debug {
signingConfig signingConfigs.sign
}
}
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
}
}
dependencies {
// implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.61'
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: '1.3.61'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
// compile 'com.alibaba:fastjson:1.1.70.android'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.nineoldandroids:parent:2.4.0'
implementation 'com.squareup.okhttp3:okhttp:4.2.2'
implementation 'net.java.dev.jna:jna:5.5.0@aar'
implementation 'com.koushikdutta.async:androidasync:2.2.1'
implementation group: 'com.android.support', name: 'recyclerview-v7', version: '28.0.0'
implementation 'org.apache.commons:commons-lang3:3.9'
implementation 'com.android.support:multidex:1.0.3'
implementation 'org.jetbrains.kotlin:kotlin-reflect:1.3.61'
implementation 'org.springframework.android:spring-android-core:1.0.1.RELEASE'
implementation 'org.apache.httpcomponents:httpcore:4.4.13'
implementation("com.beust:klaxon:0.30") {
exclude group: 'org.jetbrains'
}
implementation files('libs/zxinglibsl.jar')
implementation files('libs/codelib_3.0.2_release.jar')
implementation files('libs/bcprov-jdk16-145.jar')
}