-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.gradle
58 lines (51 loc) · 2.05 KB
/
config.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/**
* 在主项目的根目录下创建config.gradle文件
* 在这里单独处理统一依赖问题
* 注意需要在根目录的build.gradle中进行引入
*/
ext {
android = [
compileSdkVersion: 25,
buildToolsVersion: "25.0.3",
minSdkVersion : 16,
targetSdkVersion : 25,
applicationId : "com.wustor.gradlemodule",
versionCode : 9,
versionName : "1.6.3"
]
tinker = [
id : android.versionName,
message : "I am the base apk",
plateform: "all",
version : "1.9.1",
]
url = [
"debug" : "debugUrl1",
//"debug" : "debugUrl2",
//"debug" : "debugUrl3",
"release": "releaseUrl1",
// "release": "releaseUrl2"
]
//Version
supportLibrary = "25.4.0"
tinkerVerison = "1.9.1"
dependencies = [
/*support库*/
"multidex" : "com.android.support:multidex:1.0.1",
"cardview" : "com.android.support:cardview-v7:${supportLibrary}",
"constraint" : "com.android.support.constraint:constraint-layout:1.0.2",
"recyclerview" : "com.android.support:recyclerview-v7:${supportLibrary}",
"supportV4" : "com.android.support:support-v4:${supportLibrary}",
"suppoutDesign" : "com.android.support:design:${supportLibrary}",
"supportAppcompat": "com.android.support:appcompat-v7:${supportLibrary}",
/*tinker*/
"tinker-lib" : "com.tencent.tinker:tinker-android-lib:${tinkerVerison}",
"tinker-anno" : "com.tencent.tinker:tinker-android-anno:${tinkerVerison}",
"packer-ng" : "com.mcxiaoke.packer-ng:helper:2.0.0"
]
excludes = ["com.github.bumptech.glide:glide:4.3.1":
[
'com.android.support' : 'support-v4',
'com.android.support' : 'appcompat-v7',
'com.squareup.okhttp3': 'okhttp3']]
}