-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.gradle
79 lines (61 loc) · 2.43 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
//根目录全局设置
ext {
android = [
compileSdkVersion: 29,
minSdkVersion : 22,
targetSdkVersion : 29,
buildToolsVersion: "29.0.3",
versionCode : 1,
versionName : "1.0",
]
//公共依赖版本
dependencieVersions = [
// implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
kotlin_version : '1.3.72',
coreKtx : '1.3.2',
appcompat : '1.2.0',
constraintlayout : '2.0.4',
junit : '4.12',
junitTest : '1.1.2',
espressoCore : '3.3.0',
room : '2.0.0',
lifecycle : '2.2.0',
multidex : '2.0.1',
glide : "4.11.0",
glideCompiler : "4.11.0",
glideOkhttp3 : "4.11.0",
material : '1.0.0',
butterknife : "10.2.3",
utilcodex : '1.30.5',
BaseRecyclerViewAdapterHelper : '3.0.6',
]
//指定jdk版本
compileOptions = [
sourceCompatibility: JavaVersion.VERSION_1_8,
targetCompatibility: JavaVersion.VERSION_1_8,
]
// api 测试
apidebug = [
// 服务器域名
HostName : '"http://120.1.1.1"',
// 用户版端口
Port_01 : '"8043"'
]
// api 正式
apirelease = [
// 服务器域名
HostName : '"http://120.1.1.1"',
// 用户版端口
Port_01 : '"1115"'
]
}
// dependencies = [
// okhttputils : "com.zhy:okhttputils:2.6.2",
// gson : "com.google.code.gson:gson:2.8.5",
// okhttp3 : "com.squareup.okhttp3:okhttp:3.11.0",
// greendao : "org.greenrobot:greendao:3.3.0" ,
//
// ]
}