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