Commit 083363adac4be5e3bb5734af8bd92013854462b6

Authored by 赵康
1 parent 842cbfbfb2
Exists in master

添加基础依赖

Showing 1 changed file with 1 additions and 1 deletions Inline Diff

1 apply plugin: 'com.android.application' 1 apply plugin: 'com.android.application'
2 2
3 3
4 android { 4 android {
5 compileSdkVersion 27 5 compileSdkVersion 27
6 defaultConfig { 6 defaultConfig {
7 applicationId "com.gump.passport.demo" 7 applicationId "com.gump.passport.demo"
8 minSdkVersion 14 8 minSdkVersion 14
9 targetSdkVersion 27 9 targetSdkVersion 27
10 versionCode 2 10 versionCode 2
11 versionName "1.0.1" 11 versionName "1.0.1"
12 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 12 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
13 } 13 }
14 buildTypes { 14 buildTypes {
15 release { 15 release {
16 minifyEnabled false 16 minifyEnabled false
17 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 17 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 } 18 }
19 } 19 }
20 20
21 applicationVariants.all { 21 applicationVariants.all {
22 variant -> 22 variant ->
23 variant.outputs.all { 23 variant.outputs.all {
24 outputFileName = "SDKDemo-" + variant.name + defaultConfig.versionName + ".apk" 24 outputFileName = "SDKDemo-" + variant.name + defaultConfig.versionName + ".apk"
25 } 25 }
26 } 26 }
27 27
28 lintOptions { 28 lintOptions {
29 abortOnError false 29 abortOnError false
30 } 30 }
31 } 31 }
32 32
33 dependencies { 33 dependencies {
34 implementation fileTree(dir: 'libs', include: ['*.jar']) 34 implementation fileTree(dir: 'libs', include: ['*.jar'])
35 implementation 'com.android.support.constraint:constraint-layout:1.1.3' 35 implementation 'com.android.support:appcompat-v7:27.1.1'
36 testImplementation 'junit:junit:4.12' 36 testImplementation 'junit:junit:4.12'
37 37
38 //基础功能依赖,必须 38 //基础功能依赖,必须
39 implementation 'com.gump:base:5.0.0' 39 implementation 'com.gump:base:5.0.0'
40 // implementation project(':base') 40 // implementation project(':base')
41 //登录功能依赖 41 //登录功能依赖
42 implementation 'com.gump:Passport:5.0.0' 42 implementation 'com.gump:Passport:5.0.0'
43 // implementation project(':passport') 43 // implementation project(':passport')
44 //支付功能依赖 44 //支付功能依赖
45 implementation 'com.gump:Payment:5.0.0' 45 implementation 'com.gump:Payment:5.0.0'
46 // implementation project(':payment') 46 // implementation project(':payment')
47 } 47 }
48 48