blob: dc77cf829b9a354010ab78e0c550b51aabebd1ee [file] [log] [blame]
zongqiang.zhang6d65ed02019-07-23 16:52:00 +08001plugins {
2 id 'com.gladed.androidgitversion' version '0.4.9'
3}
4apply plugin: 'com.android.application'
5apply plugin: 'kotlin-android'
6apply plugin: 'kotlin-android-extensions'
7
8android {
9 compileSdkVersion 28
10 defaultConfig {
zongqiang.zhangda9e11f2019-08-19 15:03:55 +080011 applicationId "com.supwisdom.posa711"
zongqiang.zhang6d65ed02019-07-23 16:52:00 +080012 minSdkVersion 22
13 targetSdkVersion 28
zongqiang.zhangffd65cd2019-08-02 15:55:58 +080014 versionName androidGitVersion.name()
15 versionCode androidGitVersion.code()
zongqiang.zhang6d65ed02019-07-23 16:52:00 +080016 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.zhang1fd15342019-09-16 09:53:26 +080027 v1SigningEnabled true
28 v2SigningEnabled true
zongqiang.zhang6d65ed02019-07-23 16:52:00 +080029 }
30 }
31 buildTypes {
32 release {
33 minifyEnabled false
34 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
zongqiang.zhangd3c756f2019-09-18 12:31:09 +080035 signingConfig signingConfigs.release
zongqiang.zhang6d65ed02019-07-23 16:52:00 +080036 }
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
54dependencies {
55// implementation fileTree(dir: 'libs', include: ['*.jar'])
56 implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
57 implementation 'com.android.support:appcompat-v7:28.0.0'
58 implementation 'com.android.support.constraint:constraint-layout:1.1.3'
59 testImplementation 'junit:junit:4.12'
60 androidTestImplementation 'com.android.support.test:runner:1.0.2'
61 androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
62
zongqiang.zhang4702ccb2019-07-30 15:39:52 +080063// compile 'com.alibaba:fastjson:1.1.70.android'
64 compile 'com.google.code.gson:gson:2.8.5'
zongqiang.zhang6d65ed02019-07-23 16:52:00 +080065 compile 'com.nineoldandroids:parent:2.4.0'
66 compile 'com.squareup.okhttp3:okhttp:3.10.0'
67 compile 'net.java.dev.jna:jna:4.5.0@aar'
68 compile 'com.koushikdutta.async:androidasync:2.2.1'
69 compile group: 'com.android.support', name: 'recyclerview-v7', version: '28.0.0'
70 compile 'org.apache.commons:commons-lang3:3.7'
71 compile 'com.android.support:multidex:1.0.3'
72 compile 'org.jetbrains.kotlin:kotlin-reflect:1.3.41'
73 compile 'org.springframework.android:spring-android-core:1.0.1.RELEASE'
zongqiang.zhangc05877d2019-07-25 16:11:39 +080074 compile 'org.apache.httpcomponents:httpcore:4.4.10'
zongqiang.zhang3a5257f2019-07-26 17:22:36 +080075 compile("com.beust:klaxon:0.30") {
76 exclude group: 'org.jetbrains'
77 }
zongqiang.zhang6d65ed02019-07-23 16:52:00 +080078 compile files('libs/zxinglibsl.jar')
79}