forked from goldze/MVVMHabitComponent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.gradle
39 lines (37 loc) · 1.74 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
ext {
//android开发版本配置
android = [
compileSdkVersion: 27,
buildToolsVersion: "27.0.2",
applicationId : "com.goldze.component",
minSdkVersion : 15,
targetSdkVersion : 27,
versionCode : 1,
versionName : "1.0",
]
//version配置
versions = [
"support-version": "27.0.2",
"junit-version" : "4.12",
]
//support配置
support = [
"constraint-layout" : "1.0.0-beta2",
'support-v4' : "com.android.support:support-v4:${versions["support-version"]}",
'appcompat-v7' : "com.android.support:appcompat-v7:${versions["support-version"]}",
'recyclerview-v7' : "com.android.support:recyclerview-v7:${versions["support-version"]}",
'support-v13' : "com.android.support:support-v13:${versions["support-version"]}",
'support-fragment' : "com.android.support:support-fragment:${versions["support-version"]}",
'design' : "com.android.support:design:${versions["support-version"]}",
'animated-vector-drawable': "com.android.support:animated-vector-drawable:${versions["support-version"]}",
'junit' : "junit:junit:${versions["junit-version"]}",
]
//依赖第三方配置
dependencies = [
//MVVMHabit
"MVVMHabit" : "com.github.goldze:MVVMHabit:3.0.7",
//阿里路由框架
"arouter-api" : "com.alibaba:arouter-api:1.4.1",
"arouter-compiler" : "com.alibaba:arouter-compiler:1.2.2",
]
}