This repository has been archived by the owner on May 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
versions.gradle
215 lines (150 loc) · 6.56 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
ext.deps = [:]
def versions = [:]
versions.appcompat = "1.1.0"
versions.android_gradle_plugin = "3.5.0"
versions.androidx_test_core = "1.2.0"
versions.arrow = "0.10.0"
versions.commons_io = "2.6"
versions.constraintlayout = "1.1.3"
versions.core_ktx = "1.1.0"
versions.core_testing = "2.0.0"
versions.coroutines = "1.3.2"
versions.dagger = "2.27"
versions.espresso = "3.1.0"
versions.glide = "4.9.0"
versions.javaxInject = '1'
versions.junit_ext = "1.1.0"
versions.junit5 = "5.5.1"
versions.junit5_plugin = "1.5.1.0"
versions.jwt_decode = "1.4.0"
versions.kotlin_stdlib = "1.3.50"
versions.ktlint = "0.34.2"
versions.lifecycle = "2.2.0"
versions.material = "1.1.0"
versions.mockito = "3.1.0"
versions.navigation = "2.2.1"
versions.okhttp = "4.2.1"
versions.preference = "1.1.0"
versions.retrofit = "2.6.2"
versions.robolectric = "4.3"
versions.room = "2.2.4"
versions.slf4j_timber = "3.1"
versions.swipe_refresh = "1.1.0-alpha03"
versions.test_rules = "1.1.0"
versions.test_runner = "1.1.0"
versions.threetenabp = "1.2.1"
versions.threetenbp = "1.4.0"
versions.timber = "4.7.1"
versions.truth = "1.0"
versions.view_pager2 = "1.0.0-beta05"
versions.work = "2.3.3"
ext.versions = versions
def androidx = [:]
androidx.appcompat = "androidx.appcompat:appcompat:$versions.appcompat"
androidx.constraintlayout = "androidx.constraintlayout:constraintlayout:$versions.constraintlayout"
androidx.core_ktx = "androidx.core:core-ktx:$versions.core_ktx"
androidx.core_testing = "androidx.arch.core:core-testing:$versions.core_testing"
androidx.navigation_fragment = "androidx.navigation:navigation-fragment-ktx:$versions.navigation"
androidx.navigation_ui = "androidx.navigation:navigation-ui-ktx:$versions.navigation"
androidx.preference = "androidx.preference:preference-ktx:$versions.preference"
androidx.safe_args = "androidx.navigation:navigation-safe-args-gradle-plugin:$versions.navigation"
androidx.test_core = "androidx.test:core:$versions.androidx_test_core"
deps.androidx = androidx
def apache = [:]
apache.commons_io = "commons-io:commons-io:$versions.commons_io"
deps.apache = apache
def arrow = [:]
arrow.core_data = "io.arrow-kt:arrow-core-data:$versions.arrow"
deps.arrow = arrow
def auth0 = [:]
auth0.jwt_decode = "com.auth0.android:jwtdecode:$versions.jwt_decode"
deps.auth0 = auth0
def coroutines = [:]
coroutines.core = "org.jetbrains.kotlinx:kotlinx-coroutines-core:$versions.coroutines"
coroutines.android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$versions.coroutines"
coroutines.test = "org.jetbrains.kotlinx:kotlinx-coroutines-test:$versions.coroutines"
deps.coroutines = coroutines
def dagger = [:]
dagger.android = "com.google.dagger:dagger-android:$versions.dagger"
dagger.android_processor = "com.google.dagger:dagger-android-processor:$versions.dagger"
dagger.android_support = "com.google.dagger:dagger-android-support:$versions.dagger"
dagger.dagger = "com.google.dagger:dagger:$versions.dagger"
dagger.dagger_compiler = "com.google.dagger:dagger-compiler:$versions.dagger"
deps.dagger = dagger
def espresso = [:]
espresso.core = "androidx.test.espresso:espresso-core:$versions.espresso"
deps.espresso = espresso
def glide = [:]
glide.compiler = "com.github.bumptech.glide:compiler:$versions.glide"
glide.core = "com.github.bumptech.glide:glide:$versions.glide"
deps.glide = glide
def build_versions = [:]
build_versions.min_sdk = 21
build_versions.target_sdk = 29
build_versions.build_tools = "29.0.2"
ext.build_versions = build_versions
def instrumentationTest = [:]
instrumentationTest.junit_ext = "androidx.test.ext:junit:$versions.junit_ext"
instrumentationTest.test_rules = "androidx.test:rules:$versions.test_rules"
instrumentationTest.test_runner = "androidx.test:runner:$versions.test_runner"
deps.instrumentationTest = instrumentationTest
def javax = [:]
javax.inject = "javax.inject:javax.inject:$versions.javaxInject"
deps.javax = javax
deps.junit5_plugin = "de.mannodermaus.gradle.plugins:android-junit5:$versions.junit5_plugin"
def junit5 = [:]
junit5.api = "org.junit.jupiter:junit-jupiter-api:$versions.junit5"
junit5.engine = "org.junit.jupiter:junit-jupiter-engine:$versions.junit5"
junit5.vintage_engine = "org.junit.vintage:junit-vintage-engine:$versions.junit5"
deps.junit5 = junit5
def kotlin = [:]
kotlin.stdlib = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$versions.kotlin_stdlib"
kotlin.gradle_plugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin_stdlib"
kotlin.reflect = "org.jetbrains.kotlin:kotlin-reflect:$versions.kotlin_stdlib"
deps.kotlin = kotlin
deps.ktlint = "com.pinterest:ktlint:$versions.ktlint"
def lifecycle = [:]
lifecycle.extensions = "androidx.lifecycle:lifecycle-extensions:$versions.lifecycle"
lifecycle.runtime = "androidx.lifecycle:lifecycle-runtime-ktx:$versions.lifecycle"
lifecycle.live_data = "androidx.lifecycle:lifecycle-livedata-ktx:$versions.lifecycle"
deps.lifecycle = lifecycle
def material = [:]
material.google = "com.google.android.material:material:$versions.material"
deps.material = material
def mockito = [:]
mockito.core = "org.mockito:mockito-inline:$versions.mockito"
deps.mockito = mockito
def okhttp = [:]
okhttp.runtime = "com.squareup.okhttp3:okhttp:$versions.okhttp"
okhttp.logging_interceptor = "com.squareup.okhttp3:logging-interceptor:$versions.okhttp"
deps.okhttp = okhttp
def retrofit = [:]
retrofit.core = "com.squareup.retrofit2:retrofit:$versions.retrofit"
retrofit.gson = "com.squareup.retrofit2:converter-gson:$versions.retrofit"
deps.retrofit = retrofit
deps.robolectric = "org.robolectric:robolectric:$versions.robolectric"
deps.slf4j_timber = "com.arcao:slf4j-timber:$versions.slf4j_timber"
deps.swipe_refresh = "androidx.swiperefreshlayout:swiperefreshlayout:$versions.swipe_refresh"
def room = [:]
room.compiler = "androidx.room:room-compiler:$versions.room"
room.extensions = "androidx.room:room-ktx:$versions.room"
room.runtime = "androidx.room:room-runtime:$versions.room"
deps.room = room
def threeten = [:]
threeten.abp = "com.jakewharton.threetenabp:threetenabp:$versions.threetenabp"
threeten.bp = "org.threeten:threetenbp:$versions.threetenbp"
deps.threeten = threeten
deps.truth = "com.google.truth:truth:$versions.truth"
deps.timber = "com.jakewharton.timber:timber:$versions.timber"
deps.view_pager2 = "androidx.viewpager2:viewpager2:$versions.view_pager2"
def work = [:]
work.run_time = "androidx.work:work-runtime-ktx:$versions.work"
deps.work = work
deps.android_gradle_plugin = "com.android.tools.build:gradle:$versions.android_gradle_plugin"
ext.deps = deps
def addRepos(RepositoryHandler handler) {
handler.google()
handler.jcenter()
handler.mavenCentral()
}
ext.addRepos = this.&addRepos