build.gradle
1.43 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.gump.passport.demo"
minSdkVersion 15
targetSdkVersion 27
versionCode 9
versionName "1.0.9"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all {
variant ->
variant.outputs.all {
outputFileName = "SDKDemo-" + variant.name + defaultConfig.versionName + ".apk"
}
}
lintOptions {
abortOnError false
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:support-v4:27.1.1'
implementation 'com.android.support:support-vector-drawable:27.1.1'
testImplementation 'junit:junit:4.12'
//基础功能依赖,必须
// implementation 'com.gump:base:5.1.1'
// implementation project(':base')
// 登录功能依赖
implementation 'com.gump:Passport:5.2.2'
// implementation project(':passport')
//支付功能依赖
implementation 'com.gump:Payment:5.2.3'
// implementation project(':payment')
}