This repository has been archived by the owner on Aug 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathversions.gradle
128 lines (87 loc) · 4.27 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
113
114
115
116
117
118
119
120
121
122
123
124
/**
* Shared file between builds so that they can all use the same dependencies and
* maven repositories.
**/
ext.deps = [:]
//module 作为组件/application存在
ext.isLib = true
// isLib = false
ext.minSdkVersion = 16
ext.targetSdkVersion = 26
ext.compileSdkVersion = 27
//依赖库
def versions = [:]
versions.support = "27.1.1"
versions.core_ktx = "+"
versions.anko = "0.10.6"
versions.constraint = "1.1.3"
versions.lifecycle = "2.0.0"
//versions.ayvytr_mc = "1.4.0"
def support = [:]
support.appcompat_v7 = "com.android.support:appcompat-v7:$versions.support"
support.recyclerview = "com.android.support:recyclerview-v7:$versions.support"
support.constraint = "com.android.support.constraint:constraint-layout:$versions.constraint"
support.design = "com.android.support:design:$versions.support"
support.cardview = "com.android.support:cardview-v7:$versions.support"
support.v4 = "com.android.support:support-v4:$versions.support"
support.annotations = "com.android.support:support-annotations:$versions.support"
deps.support = support
def kotlin = [:]
kotlin.kotlin_jdk7 = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$versions.kotlin"
//kotlin.test = "org.jetbrains.kotlin:kotlin-test-junit:$versions.kotlin"
//kotlin.plugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
//kotlin.allopen = "org.jetbrains.kotlin:kotlin-allopen:$versions.kotlin"
kotlin.core_ktx = "android.core:core-ktx:$versions.core_ktx"
kotlin.anko = "org.jetbrains.anko:anko:$versions.anko"
kotlin.anko_commons = "org.jetbrains.anko:anko-commons:$versions.anko"
kotlin.rxlifecycle_android = 'com.trello.rxlifecycle2:rxlifecycle-android-lifecycle-kotlin:2.2.2'
//kotlin.mvp_rxlifecycle_kotlin = 'com.ayvytr:mvp-rxlifecycle-kotlin:1.3.3'
deps.kotlin = kotlin
def test = [:]
test.junit = "junit:junit:4.12"
test.testRunner = "com.android.support.test:runner:1.0.2"
test.espresso = "com.android.support.test.espresso:espresso-core:3.0.2"
test.robolectric = 'org.robolectric:robolectric:3.8'
test.ixjava = 'com.github.akarnokd:ixjava:1.0.0'
test.commons_io = 'commons-io:commons-io:2.6'
test.mockito = 'org.mockito:mockito-core:2.21.0'
deps.test = test
deps.junit = "junit:junit:4.12"
deps.testRunner = "com.android.support.test:runner:1.0.2"
deps.espresso = "com.android.support.test.espresso:espresso-core:3.0.2"
//ayvytr
deps.base_adapter = "com.ayvytr:base-adapter:1.4.1"
deps.logger = "com.ayvytr:logger:+"
deps.network = "com.ayvytr:network:2.3.2"
deps.okhttploginterceptor = "com.ayvytr:okhttploginterceptor:3.0.0"
deps.ktx = "com.ayvytr:ktx:2.5.0"
deps.base_coroutine_activity_androidx = "com.ayvytr:base-coroutine-activity-androidx:0.3.0"
//end ayvytr
deps.eventBus = "org.greenrobot:eventbus:3.1.1"
deps.rxbus = 'com.hwangjr.rxbus:rxbus:1.0.6'
deps.gson = "com.google.code.gson:gson:2.8.0"
deps.glide = "com.github.bumptech.glide:glide:4.9.0"
deps.glide_compiler = "com.github.bumptech.glide:compiler:4.9.0"
deps.glideTransformations = "jp.wasabeef:glide-transformations:4.7.1"
deps.okhttp = "com.squareup.okhttp3:okhttp:4.4.0"
deps.retrofit = "com.squareup.retrofit2:retrofit:2.8.1"
deps.retrofit_adapter_rxjava2 = "com.squareup.retrofit2:adapter-rxjava2:2.6.0"
deps.retrofit_converter_gson = "com.squareup.retrofit2:converter-gson:2.6.0"
deps.retrofit_converter_scalars = "com.squareup.retrofit2:converter-scalars:2.6.0"
deps.rxpermission = 'com.github.tbruyelle:rxpermissions:0.10.2'
deps.andpermission = "com.yanzhenjie:permission:2.0.0-rc12"
deps.greenDao = "org.greenrobot:greendao:3.2.2"
deps.arouter = "com.alibaba:arouter-api:1.4.0"
deps.arouter_compiler = "com.alibaba:arouter-compiler:1.2.1"
deps.agentweb = "com.just.agentweb:agentweb:4.0.2"
deps.smartrefresh = "com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-20"
deps.blockcanary_debug = 'com.github.markzhai:blockcanary-android:1.5.0'
deps.blockcanary_release = 'com.github.markzhai:blockcanary-no-op:1.5.0'
deps.photoview = "com.github.chrisbanes:PhotoView:2.1.3"
deps.customviews = 'com.ayvytr:custom-views:+'
deps.statusbar = 'com.jaeger.statusbarutil:library:1.5.1'
deps.okhttp_chuck_debug = 'com.readystatesoftware.chuck:library:1.1.0'
deps.okhttp_chuck_release = 'com.readystatesoftware.chuck:library-no-op:1.1.0'
deps.crashMonitor = 'com.github.maning0303:MNCrashMonitor:V1.0.9'
deps.bugly = 'com.tencent.bugly:crashreport:2.6.6'
ext.deps = deps