-
Notifications
You must be signed in to change notification settings - Fork 4
/
XinConfig.gradle
52 lines (44 loc) · 2.58 KB
/
XinConfig.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
ext {
androidVersion = [
compileSdkVersion: 27,
minSdkVersion : 19,
targetSdkVersion : 27,
versionName : "1.0.0",
]
sdkVersion = [
objectboxVersion : "1.5.0",
androidSupportSdkVersion: "27.1.1",
retrofitVersion : "2.4.0",
VRxlifecycle : "2.0.1",
rxandroid2 : "2.0.2",
rxjava2 : "2.1.14",
glideVersion : "4.8.0",
AdapterHelper : '2.9.25',
]
sdk = [
//Android support
appcompat_v7 : "com.android.support:appcompat-v7:${sdkVersion.androidSupportSdkVersion}",
support_v4 : "com.android.support:support-v4:${sdkVersion.androidSupportSdkVersion}",
support_design : "com.android.support:design:${sdkVersion.androidSupportSdkVersion}",
// object box数据库
objectbox : "io.objectbox:objectbox-gradle-plugin:${sdkVersion.objectboxVersion}",
// 权限
rxpermissions2 : "com.tbruyelle.rxpermissions2:rxpermissions:0.9.5@aar",
// RX JAVA2
rxandroid2 : "io.reactivex.rxjava2:rxandroid:${sdkVersion.rxandroid2}",
rxjava2 : "io.reactivex.rxjava2:rxjava:${sdkVersion.rxjava2}",
// Retrofit2
retrofit : "com.squareup.retrofit2:retrofit:${sdkVersion.retrofitVersion}",
retrofit_adapter_rxjava2: "com.squareup.retrofit2:adapter-rxjava2:${sdkVersion.retrofitVersion}",
retrofit_converter_gson : "com.squareup.retrofit2:converter-gson:${sdkVersion.retrofitVersion}",
// rx lifecycle生命周期管理
rxlifecycle : "com.trello.rxlifecycle2:rxlifecycle:${sdkVersion.VRxlifecycle}",
rxlifecycle_android : "com.trello.rxlifecycle2:rxlifecycle-android:${sdkVersion.VRxlifecycle}",
rxlifecycle_components : "com.trello.rxlifecycle2:rxlifecycle-components:${sdkVersion.VRxlifecycle}",
// glide
glide : "com.github.bumptech.glide:glide:${sdkVersion.glideVersion}",
glide_compiler : "com.github.bumptech.glide:compiler:${sdkVersion.glideVersion}",
glide_loader_okhttp3 : "com.github.bumptech.glide:okhttp3-integration:${sdkVersion.glideVersion}",
an_permission : 'com.yanzhenjie:permission:2.0.0-rc12'
]
}