-
Notifications
You must be signed in to change notification settings - Fork 20
/
version.gradle
58 lines (57 loc) · 1.86 KB
/
version.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
ext {
sdkVersion = [
"compile": 34,
"min" : 21,
"target" : 33
]
frame = [
/**
* true:引用源码
* false:引用maven仓库
*/
"importSourceCode": true,
/**
* 是否是快照版本
*/
"snapshot" : false,
"kmvvm" : '1.2.3'
]
kmvvmVersion = kmvvmVersion()
dependenciesVersion = [
'kotlin' : '1.9.0',
'support' : '30.0.0',
'appcompat' : '1.4.1',
'startup_runtime' : '1.1.1',
'coordinatorlayout' : '1.2.0',
'constraintlayout' : '2.1.3',
'annotation' : '1.3.0',
'material' : '1.10.0',
'core_ktx' : '1.8.0',
'okhttp3' : '4.10.0',
'retrofit2' : '2.9.0',
'rxjava' : '3.1.5',
'rxandroid' : '3.0.2',
'gson' : '2.10',
'glide' : '4.14.2',
'immersionbar' : '3.2.2',
'loading' : '1.0.2',
'SmartRefreshLayout': '3.0.0-alpha',
'auto_service' : '1.0.1',
'kotlinpoet' : '1.12.0',
'rxpermissions' : '0.12',
'recycleview' : '1.2.1',
'UIViewPager' : '0.1.8',
'okhttpprofiler' : '1.0.8',
'coroutines' : '1.6.4',
'serialization' : '1.4.1',
'lifecycle' : '2.6.1',
"ksp" : '1.9.23-1.0.19'
]
}
def kmvvmVersion() {
def kmvvm_version = rootProject.frame["kmvvm"]
if (rootProject.frame["snapshot"]) {
kmvvm_version = "$kmvvm_version-SNAPSHOT"
}
return kmvvm_version
}