blob: ed71b203ac811013dc6e7cd2b405d11bddfb24a4 [file] [log] [blame]
zhen.zhangf4836502020-06-08 16:49:36 +08001apply plugin: 'com.android.application'
2
3android {
4 signingConfigs {
5 release {
6 storeFile file("$rootDir/keys-app.jks")
7 storePassword '123456'
8 keyAlias = 'sup'
9 keyPassword '123456'
10 }
11 }
12 compileSdkVersion 28
13 defaultConfig {
14 applicationId "com.supwisdom.conferencecheck"
15 minSdkVersion 19
16 targetSdkVersion 25
17 versionCode 1
18 versionName "1.0"
19 ndk {
20 abiFilters 'armeabi-v7a', 'armeabi', 'x86'
21 }
22 }
23 buildTypes {
24 release {
25 minifyEnabled false
26 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
27 }
28 }
29 buildToolsVersion = '28.0.3'
30 compileOptions {
31 sourceCompatibility = '1.8'
32 targetCompatibility = '1.8'
33 }
34 android.applicationVariants.all { variant ->
35 variant.outputs.all { output ->
36 def apkName = "conference-v${defaultConfig.versionName}-${defaultConfig.versionCode}.apk"
37 outputFileName = apkName
38 }
39 }
40 lintOptions {
41 checkReleaseBuilds false
42 // Or, if you prefer, you can continue to check for errors in release builds,
43 // but continue the build even when errors are found:
44 abortOnError false
45 }
46}
47
48dependencies {
49 implementation fileTree(include: ['*.jar'], dir: 'libs')
50 implementation 'com.android.support:appcompat-v7:28.0.0'
51 implementation 'com.android.support.constraint:constraint-layout:1.1.3'
52 testImplementation 'junit:junit:4.12'
53 androidTestImplementation 'com.android.support.test:runner:1.0.2'
54 androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
55 compile 'com.squareup.okhttp3:okhttp:3.10.0'
56 compile 'org.apache.httpcomponents:httpcore:4.4.10'
57 compile 'com.alibaba:fastjson:1.1.70.android'
58 implementation files('libs/smdt.jar')
59 implementation files('libs/zxinglibsl.jar')
60}