zongqiang.zhang | 9fd4764 | 2020-12-02 11:10:21 +0800 | [diff] [blame] | 1 | plugins {
|
| 2 | id 'com.gladed.androidgitversion' version '0.4.9'
|
| 3 | }
|
| 4 | apply plugin: 'com.android.application'
|
| 5 | apply plugin: 'kotlin-android'
|
| 6 | apply plugin: 'kotlin-android-extensions'
|
| 7 |
|
| 8 | android {
|
| 9 | compileSdkVersion 28
|
| 10 | defaultConfig {
|
| 11 | applicationId "com.supwisdom.posa711"
|
| 12 | minSdkVersion 22
|
| 13 | targetSdkVersion 28
|
| 14 | versionName androidGitVersion.name()
|
| 15 | versionCode androidGitVersion.code()
|
| 16 | ndk {
|
| 17 | abiFilters "arm64-v8a"
|
| 18 | }
|
| 19 | multiDexEnabled true
|
| 20 | }
|
| 21 | signingConfigs {
|
| 22 | release {
|
| 23 | storeFile file("$rootDir/keys-app.jks")
|
| 24 | storePassword "123456"
|
| 25 | keyAlias "sup"
|
| 26 | keyPassword "123456"
|
| 27 | v1SigningEnabled true
|
| 28 | v2SigningEnabled true
|
| 29 | }
|
| 30 | sign {
|
| 31 | storeFile file("$rootDir/keys-sign.jks")
|
| 32 | storePassword "123456"
|
| 33 | keyAlias "sup"
|
| 34 | keyPassword "android"
|
| 35 | v1SigningEnabled true
|
| 36 | v2SigningEnabled true
|
| 37 | }
|
| 38 | }
|
| 39 | buildTypes {
|
| 40 | release {
|
| 41 | minifyEnabled false
|
| 42 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
zongqiang.zhang | eda398b | 2020-12-04 17:19:27 +0800 | [diff] [blame] | 43 | signingConfig signingConfigs.sign
|
zongqiang.zhang | 9fd4764 | 2020-12-02 11:10:21 +0800 | [diff] [blame] | 44 | }
|
| 45 | debug {
|
| 46 | signingConfig signingConfigs.sign
|
| 47 | }
|
| 48 | }
|
| 49 | compileOptions {
|
| 50 | sourceCompatibility 1.8
|
| 51 | targetCompatibility 1.8
|
| 52 | }
|
| 53 | packagingOptions {
|
| 54 | exclude 'META-INF/DEPENDENCIES'
|
| 55 | exclude 'META-INF/LICENSE'
|
| 56 | exclude 'META-INF/LICENSE.txt'
|
| 57 | exclude 'META-INF/license.txt'
|
| 58 | exclude 'META-INF/NOTICE'
|
| 59 | exclude 'META-INF/NOTICE.txt'
|
| 60 | exclude 'META-INF/notice.txt'
|
| 61 | exclude 'META-INF/ASL2.0'
|
| 62 | }
|
| 63 | }
|
| 64 |
|
| 65 | dependencies {
|
| 66 | // implementation fileTree(dir: 'libs', include: ['*.jar'])
|
| 67 | implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.61'
|
| 68 | implementation group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: '1.3.61'
|
| 69 | implementation 'com.android.support:appcompat-v7:28.0.0'
|
| 70 | implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
| 71 | testImplementation 'junit:junit:4.12'
|
| 72 | androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
| 73 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
| 74 |
|
| 75 | // compile 'com.alibaba:fastjson:1.1.70.android'
|
| 76 | implementation 'com.google.code.gson:gson:2.8.6'
|
| 77 | implementation 'com.nineoldandroids:parent:2.4.0'
|
| 78 | implementation 'com.squareup.okhttp3:okhttp:4.2.2'
|
| 79 | implementation 'net.java.dev.jna:jna:5.5.0@aar'
|
| 80 | implementation 'com.koushikdutta.async:androidasync:2.2.1'
|
| 81 | implementation group: 'com.android.support', name: 'recyclerview-v7', version: '28.0.0'
|
| 82 | implementation 'org.apache.commons:commons-lang3:3.9'
|
| 83 | implementation 'com.android.support:multidex:1.0.3'
|
| 84 | implementation 'org.jetbrains.kotlin:kotlin-reflect:1.3.61'
|
| 85 | implementation 'org.springframework.android:spring-android-core:1.0.1.RELEASE'
|
| 86 | implementation 'org.apache.httpcomponents:httpcore:4.4.13'
|
| 87 | implementation("com.beust:klaxon:0.30") {
|
| 88 | exclude group: 'org.jetbrains'
|
| 89 | }
|
| 90 | implementation files('libs/zxinglibsl.jar')
|
| 91 | implementation files('libs/codelib_3.0.2_release.jar')
|
| 92 | implementation files('libs/bcprov-jdk16-145.jar')
|
| 93 | }
|