zongqiang.zhang | 6d65ed0 | 2019-07-23 16:52:00 +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 { |
zongqiang.zhang | da9e11f | 2019-08-19 15:03:55 +0800 | [diff] [blame] | 11 | applicationId "com.supwisdom.posa711" |
zongqiang.zhang | 6d65ed0 | 2019-07-23 16:52:00 +0800 | [diff] [blame] | 12 | minSdkVersion 22 |
| 13 | targetSdkVersion 28 |
zongqiang.zhang | ffd65cd | 2019-08-02 15:55:58 +0800 | [diff] [blame] | 14 | versionName androidGitVersion.name() |
| 15 | versionCode androidGitVersion.code() |
zongqiang.zhang | 6d65ed0 | 2019-07-23 16:52:00 +0800 | [diff] [blame] | 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" |
zongqiang.zhang | 1fd1534 | 2019-09-16 09:53:26 +0800 | [diff] [blame] | 27 | v1SigningEnabled true |
| 28 | v2SigningEnabled true |
zongqiang.zhang | 6d65ed0 | 2019-07-23 16:52:00 +0800 | [diff] [blame] | 29 | } |
| 30 | } |
| 31 | buildTypes { |
| 32 | release { |
| 33 | minifyEnabled false |
| 34 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
zongqiang.zhang | d3c756f | 2019-09-18 12:31:09 +0800 | [diff] [blame] | 35 | signingConfig signingConfigs.release |
zongqiang.zhang | 6d65ed0 | 2019-07-23 16:52:00 +0800 | [diff] [blame] | 36 | } |
| 37 | } |
| 38 | compileOptions { |
| 39 | sourceCompatibility 1.8 |
| 40 | targetCompatibility 1.8 |
| 41 | } |
| 42 | packagingOptions { |
| 43 | exclude 'META-INF/DEPENDENCIES' |
| 44 | exclude 'META-INF/LICENSE' |
| 45 | exclude 'META-INF/LICENSE.txt' |
| 46 | exclude 'META-INF/license.txt' |
| 47 | exclude 'META-INF/NOTICE' |
| 48 | exclude 'META-INF/NOTICE.txt' |
| 49 | exclude 'META-INF/notice.txt' |
| 50 | exclude 'META-INF/ASL2.0' |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | dependencies { |
| 55 | // implementation fileTree(dir: 'libs', include: ['*.jar']) |
zongqiang.zhang | 88d9d8d | 2020-03-20 17:35:27 +0800 | [diff] [blame] | 56 | implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.61' |
| 57 | implementation group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: '1.3.61' |
zongqiang.zhang | 6d65ed0 | 2019-07-23 16:52:00 +0800 | [diff] [blame] | 58 | implementation 'com.android.support:appcompat-v7:28.0.0' |
| 59 | implementation 'com.android.support.constraint:constraint-layout:1.1.3' |
| 60 | testImplementation 'junit:junit:4.12' |
| 61 | androidTestImplementation 'com.android.support.test:runner:1.0.2' |
| 62 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' |
| 63 | |
zongqiang.zhang | 4702ccb | 2019-07-30 15:39:52 +0800 | [diff] [blame] | 64 | // compile 'com.alibaba:fastjson:1.1.70.android' |
zongqiang.zhang | 88d9d8d | 2020-03-20 17:35:27 +0800 | [diff] [blame] | 65 | implementation 'com.google.code.gson:gson:2.8.6' |
| 66 | implementation 'com.nineoldandroids:parent:2.4.0' |
| 67 | implementation 'com.squareup.okhttp3:okhttp:4.2.2' |
| 68 | implementation 'net.java.dev.jna:jna:5.5.0@aar' |
| 69 | implementation 'com.koushikdutta.async:androidasync:2.2.1' |
| 70 | implementation group: 'com.android.support', name: 'recyclerview-v7', version: '28.0.0' |
| 71 | implementation 'org.apache.commons:commons-lang3:3.9' |
| 72 | implementation 'com.android.support:multidex:1.0.3' |
| 73 | implementation 'org.jetbrains.kotlin:kotlin-reflect:1.3.61' |
| 74 | implementation 'org.springframework.android:spring-android-core:1.0.1.RELEASE' |
| 75 | implementation 'org.apache.httpcomponents:httpcore:4.4.13' |
| 76 | implementation("com.beust:klaxon:0.30") { |
zongqiang.zhang | 3a5257f | 2019-07-26 17:22:36 +0800 | [diff] [blame] | 77 | exclude group: 'org.jetbrains' |
| 78 | } |
zongqiang.zhang | 6d65ed0 | 2019-07-23 16:52:00 +0800 | [diff] [blame] | 79 | compile files('libs/zxinglibsl.jar') |
| 80 | } |