-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.gradle
63 lines (55 loc) · 3.06 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
ext {
androidVersion = [
compileSdkVersion: 26,
buildToolsVersion: "28.0.3",
minSdkVersion : 15,
targetSdkVersion : 26,
versionName : "1.0"
]
dependencyVersion = [
supportLibraryVersion: "27.1.1",
constraintVersion : "1.1.2",
multidex_version : "1.0.0",
rxjava_version : "2.1.9",
rxandroid_version : "2.0.1",
]
dependencies = [
//base functioin
appcompatV7 : "com.android.support:appcompat-v7:${dependencyVersion.supportLibraryVersion}",
support : "com.android.support:support-v4:${dependencyVersion.supportLibraryVersion}",
support_annotations : "com.android.support:support-annotations:${dependencyVersion.supportLibraryVersion}",
support_design : "com.android.support:design:${dependencyVersion.supportLibraryVersion}",
support_recyclerview: "com.android.support:recyclerview-v7:${dependencyVersion.supportLibraryVersion}",
support_cardview : "com.android.support:cardview-v7:${dependencyVersion.supportLibraryVersion}",
support_palette : "com.android.support:palette-v7:${dependencyVersion.supportLibraryVersion}",
constraint_layout : "com.android.support.constraint:constraint-layout:${dependencyVersion.constraintVersion}",
//kotlin support
kotlin_stdlib : "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version",
kotlin_stdlib_jdk8 : "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version",
kotlin_stdlib_common: "org.jetbrains.kotlin:kotlin-stdlib-common:$kotlin_version",
kotlin_coroutine : "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.2",
// //分包;
android_multidex : "com.android.support:multidex:${dependencyVersion.multidex_version}",
/**
* 消息框架
*/
//Rxjava
rxjava2_core : "io.reactivex.rxjava2:rxjava:${dependencyVersion.rxjava_version}",
rxandroid_core : "io.reactivex.rxjava2:rxandroid:${dependencyVersion.rxandroid_version}"
/**
* 依赖注入框架
*/
// // dependency injection
// implementation "com.google.dagger:dagger:$rootProject.dagger2Version"
// annotationProcessor "com.google.dagger:dagger-compiler:$rootProject.dagger2Version"
// annotationProcessor "com.google.dagger:dagger-android-processor:$rootProject.dagger2Version"
// implementation "com.google.dagger:dagger-android-support:$rootProject.dagger2Version"
/**
* 网络框架
*/
// //下载框架retrofit;
// compile 'com.squareup.retrofit2:retrofit:2.3.0'
// compile 'com.squareup.retrofit2:converter-gson:2.3.0'//对序列化和反序列化的转化;
// compile 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'//对Call对象的转化为Observe对象
]
}