-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
37 lines (35 loc) · 1.11 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.1"
defaultConfig {
applicationId "com.gujin.idcard"
minSdkVersion 21
targetSdkVersion 25
versionCode 1
versionName "1.0"
resConfigs "zh", "en"
}
buildTypes {
debug {
buildConfigField "String", "appKey", "hide"
minifyEnabled false
signingConfig signingConfigs.release
}
release {
buildConfigField "String", "appKey", "hide"
minifyEnabled true
shrinkResources true
zipAlignEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:design:25.0.1'
compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.android.support:appcompat-v7:25.0.1'
compile 'com.squareup.retrofit2:converter-gson:2.1.0'
}