forked from dongmin2002345/MyTikTok
-
Notifications
You must be signed in to change notification settings - Fork 0
/
versions.gradle
112 lines (91 loc) · 4.35 KB
/
versions.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/**
* Shared file between builds so that they can all use the same dependencies and
* maven repositories.
**/
ext.deps = [:]
def versions = [:]
versions.support = "26.1.0"
versions.rxjava = "2.1.8"
versions.rx_android = "2.0.1"
versions.retrofit = "2.4.0"
versions.gson = "2.8.2"
versions.butterknife = "8.5.1"
versions.guava = "20.0"
versions.guava_android = "24.0-android"
versions.rxlifecycle2 = "2.1.0"
versions.android_arch_lifecycle_ext = "1.1.1"
versions.greendao = "3.2.2"
versions.javapoet = "1.9.0"
versions.fresco = "1.3.0"
versions.animated_gif = "1.3.0"
versions.android_sdk = "4.8.2"
versions.lottie = "2.5.4"
versions.annotation_api = "1.3"
versions.android_processes = "1.0.9"
versions.netty = "4.1.0.CR1"
versions.okhttp = "3.10.0"
versions.rxpermissons2 = "0.9.4@aar"
versions.rxbinding = "2.0.0"
// support 相关的逻辑
def support = [:]
support.annotations = "com.android.support:support-annotations:$versions.support"
support.app_compat = "com.android.support:appcompat-v7:$versions.support"
support.recyclerview = "com.android.support:recyclerview-v7:$versions.support"
support.design = "com.android.support:design:$versions.support"
support.percent = "com.android.support:percent:$versions.support"
support.v4 = "com.android.support:support-v4:$versions.support"
support.v13 = "com.android.support:support-v13:$versions.support"
support.core_utils = "com.android.support:support-core-utils:$versions.support"
support.fragment = "com.android.support:support-fragment:$versions.support"
support.emoji = "com.android.support:support-emoji:$versions.support"
deps.support = support
def retrofit = [:]
retrofit.runtime = "com.squareup.retrofit2:retrofit:$versions.retrofit"
retrofit.gson = "com.squareup.retrofit2:converter-gson:$versions.retrofit"
retrofit.mock = "com.squareup.retrofit2:retrofit-mock:$versions.retrofit"
retrofit.rxjava2 = "com.squareup.retrofit2:adapter-rxjava2:$versions.retrofit"
retrofit.scalars = "com.squareup.retrofit2:converter-scalars:$versions.retrofit"
deps.retrofit = retrofit
deps.okhttp_logging_interceptor = "com.squareup.okhttp3:logging-interceptor:${versions.okhttp_logging_interceptor}"
def rxjava2 = [:]
rxjava2.rxjava = "io.reactivex.rxjava2:rxjava:$versions.rxjava"
rxjava2.rxandroid = "io.reactivex.rxjava2:rxandroid:$versions.rx_android"
deps.rxjava2 = rxjava2
def squareup = [:]
squareup.javapoet = "com.squareup:javapoet:$versions.javapoet"
squareup.okhttp3 = "com.squareup.okhttp3:okhttp:$versions.okhttp"
squareup.leakcanary_no_op = "com.squareup.leakcanary:leakcanary-android-no-op:$versions.leakcanary"
squareup.leakcanary = "com.squareup.leakcanary:leakcanary-android:$versions.leakcanary"
deps.squareup = squareup
def rxlifecycle2 = [:]
rxlifecycle2.android = "com.trello.rxlifecycle2:rxlifecycle-android:$versions.rxlifecycle2"
rxlifecycle2.components = "com.trello.rxlifecycle2:rxlifecycle-components:$versions.rxlifecycle2"
deps.rxlifecycle2 = rxlifecycle2
def android_arch = [:]
android_arch.lifecycle_ext = "android.arch.lifecycle:extensions:$versions.android_arch_lifecycle_ext"
deps.android_arch = android_arch
def netty = [:]
netty.common = "io.netty:netty-common:$versions.netty"
netty.buffer = "io.netty:netty-buffer:$versions.netty"
netty.transport = "io.netty:netty-transport:$versions.netty"
netty.codec = "io.netty:netty-codec:$versions.netty"
deps.netty = netty
//greenrobot 相关
def greenrobot = [:]
greenrobot.greendao = "org.greenrobot:greendao:$versions.greendao"
greenrobot.eventbus = "org.greenrobot:eventbus:$versions.eventbus"
greenrobot.eventbus_process = "org.greenrobot:eventbus-annotation-processor:$versions.eventbus"
deps.greenrobot = greenrobot
def lint = [:]
lint.api = "com.android.tools.lint:lint-api:$versions.lint"
lint.checks = "com.android.tools.lint:lint-checks:$versions.lint"
lint.uast = "com.android.tools.external.org-jetbrains:uast:$versions.lint"
deps.lint = lint
deps.butterknife = "com.jakewharton:butterknife:$versions.butterknife"
deps.butterknife_compiler = "com.jakewharton:butterknife-compiler:$versions.butterknife"
deps.gson = "com.google.code.gson:gson:$versions.gson"
deps.guava_android = "com.google.guava:guava:$versions.guava_android"
deps.annotation_api = "javax.annotation:javax.annotation-api:$versions.annotation_api"
deps.rxpermissons2 = "com.tbruyelle.rxpermissions2:rxpermissions:$versions.rxpermissons2"
deps.rxbinding = "com.jakewharton.rxbinding2:rxbinding:$versions.rxbinding"
ext.deps = deps