-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathconfig.gradle
More file actions
67 lines (55 loc) · 2.74 KB
/
config.gradle
File metadata and controls
67 lines (55 loc) · 2.74 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/**
* 全局统一配置
*/
ext {
/**
* module开关统一声明在此处
* true:module作为application,可单独打包为apk
* false:module作为library,可作为宿主application的组件
*/
isModule_North = true
isModule_South = true
/**
* 版本统一管理
*/
versions = [
applicationId : "com.hailong.amd", //应用ID
versionCode : 100, //版本号
versionName : "1.0.0", //版本名称
compileSdkVersion : 28,
minSdkVersion : 21,
targetSdkVersion : 28,
androidSupportSdkVersion: "28.0.0",
constraintlayoutVersion : "1.1.3",
runnerVersion : "1.1.0-alpha4",
espressoVersion : "3.1.0-alpha4",
junitVersion : "4.12",
annotationsVersion : "28.0.0",
appcompatVersion : "1.0.0-beta01",
designVersion : "1.0.0-beta01",
multidexVersion : "1.0.2",
butterknifeVersion : "10.1.0",
arouterApiVersion : "1.4.1",
arouterCompilerVersion : "1.2.2",
arouterAnnotationVersion: "1.0.4"
]
dependencies = [
"appcompat" : "androidx.appcompat:appcompat:${versions["appcompatVersion"]}",
"constraintlayout" : "androidx.constraintlayout:constraintlayout:${versions["constraintlayoutVersion"]}",
"runner" : "androidx.test:runner:${versions["runnerVersion"]}",
"espresso_core" : "androidx.test.espresso:espresso-core:${versions["espressoVersion"]}",
"junit" : "junit:junit:${versions["junitVersion"]}",
//注释处理器
"support_annotations" : "androidx.annotation:annotation:1.0.0-beta01",
"design" : "com.google.android.material:material:${versions["designVersion"]}",
//方法数超过65535解决方法64K MultiDex分包方法
"multidex" : "androidx.multidex:multidex:2.0.0",
//阿里路由
"arouter_api" : "com.alibaba:arouter-api:${versions["arouterApiVersion"]}",
"arouter_compiler" : "com.alibaba:arouter-compiler:${versions["arouterCompilerVersion"]}",
"arouter_annotation" : "com.alibaba:arouter-annotation:${versions["arouterAnnotationVersion"]}",
//黄油刀
"butterknife" : "com.jakewharton:butterknife:${versions["butterknifeVersion"]}",
"butterknife_compiler": "com.jakewharton:butterknife-compiler:${versions["butterknifeVersion"]}",
]
}