@@ -110,13 +110,14 @@ ext {
110110 legacySupport = " 1.0.0"
111111 coreTesting = " 2.1.0"
112112 testRunner = " 1.3.0"
113- coroutines = " 1.4.2"
113+ coroutines = " 1.3.5"
114+ retrofitCoroutinesAdapter = " 0.9.2"
114115 webkit = " 1.3.0"
115116 referrerLibrary = " 1.1.2"
116117
117118 junit = " 4.12"
118119 dagger = " 2.27"
119- retrofit = " 2.9.0 "
120+ retrofit = " 2.8.1 "
120121 ankoVersion = " 0.10.4"
121122 glide = " 4.11.0"
122123 lottieVersion = " 3.4.0"
@@ -133,96 +134,96 @@ ext {
133134
134135
135136dependencies {
136- implementation " androidx .legacy:legacy-support-v4: $l egacySupport "
137- debugImplementation " com.squareup.leakcanary:leakcanary- android: $l eakCanary "
137+ implementation AndroidX . legacy. supportV4
138+ debugImplementation Square . leakCanary . android
138139
139140 implementation fileTree(dir : ' libs' , include : [' *.jar' ])
140141
141- implementation " org.jetbrains.kotlin:kotlin- stdlib- jdk7: $k otlin_version "
142- implementation " org.jetbrains.kotlinx:kotlinx- coroutines- core: $c oroutines "
143- implementation " org.jetbrains.kotlinx:kotlinx- coroutines- android: $c oroutines "
144- androidTestImplementation( " org.jetbrains.kotlinx:kotlinx- coroutines- test: $c oroutines " ) {
142+ implementation Kotlin . stdlib. jdk7
143+ implementation KotlinX . coroutines. core
144+ implementation KotlinX . coroutines. android
145+ androidTestImplementation ( KotlinX . coroutines. test) {
145146 // https://github.com/Kotlin/kotlinx.coroutines/issues/2023
146147 // conflicts with mockito due to direct inclusion of byte buddy
147148 exclude group : " org.jetbrains.kotlinx" , module : " kotlinx-coroutines-debug"
148149 }
149150
150- implementation " androidx.appcompat:appcompat: $a ndroidX "
151- implementation " com.google. android.material:material: $m aterialDesign "
152- implementation " androidx.constraintlayout:constraintlayout: $ constraintLayout "
153- implementation " androidx.swiperefreshlayout:swiperefreshlayout: $ swipeRefreshLayout "
154- implementation " androidx .webkit:webkit: $w ebkit "
155- implementation " com.squareup.okhttp3:okhttp: $ okHttp "
156- implementation " com.squareup.okhttp3:okhttp-tls:$o kHttp "
157- implementation " com.squareup. retrofit2: retrofit: $r etrofit "
158- implementation " com.squareup. retrofit2: converter- moshi: $r etrofit "
159- implementation " com.squareup. retrofit2: adapter-rxjava2: $r etrofit "
160- implementation " com.squareup. retrofit2: converter- scalars: $r etrofit "
161- implementation " io.reactivex.rxjava2:rxjava:$r xJava "
162- implementation " io.reactivex.rxjava2:rxandroid:$r xAndroid "
163- implementation " com.jakewharton. timber:timber: $t imber "
164- implementation " com.google. dagger:dagger- android: $d agger "
165- implementation " com.google. dagger:dagger- android- support: $d agger "
151+ implementation AndroidX . appCompat
152+ implementation Google . android. material
153+ implementation AndroidX . constraintLayout
154+ implementation AndroidX . swipeRefreshLayout
155+ implementation AndroidX . webkit
156+ implementation Square . okHttp3 . okHttp
157+ implementation " com.squareup.okhttp3:okhttp-tls:_ "
158+ implementation Square . retrofit2. retrofit
159+ implementation Square . retrofit2. converter. moshi
160+ implementation Square . retrofit2. adapter. rxJava2
161+ implementation Square . retrofit2. converter. scalars
162+ implementation " io.reactivex.rxjava2:rxjava:_ "
163+ implementation " io.reactivex.rxjava2:rxandroid:_ "
164+ implementation JakeWharton . timber
165+ implementation Google . dagger. android
166+ implementation Google . dagger. android. support
166167
167168 // RxRelay
168- implementation " com.jakewharton.rxrelay2:rxrelay:$r xRelay "
169+ implementation " com.jakewharton.rxrelay2:rxrelay:_ "
169170
170171 // Anko
171- implementation " org.jetbrains.anko:anko-commons:$a nkoVersion "
172- implementation " org.jetbrains.anko:anko-design:$a nkoVersion "
172+ implementation " org.jetbrains.anko:anko-commons:_ "
173+ implementation " org.jetbrains.anko:anko-design:_ "
173174
174175 // Android KTX
175- implementation " androidx .core:core- ktx: $a ndroidKtxCore "
176- implementation " androidx.fragment:fragment-ktx: $ fragmentKtx "
176+ implementation AndroidX . core. ktx
177+ implementation AndroidX . fragmentKtx
177178
178179 // ViewModel and LiveData
179- implementation " androidx .lifecycle:lifecycle- extensions: $l ifecycle "
180- implementation " androidx .lifecycle:lifecycle-viewmodel-ktx: $l ifecycle "
181- implementation " androidx .lifecycle:lifecycle-livedata-ktx: $l ifecycle "
180+ implementation AndroidX . lifecycle. extensions
181+ implementation AndroidX . lifecycle. viewModelKtx
182+ implementation AndroidX . lifecycle. liveDataKtx
182183
183- implementation " androidx .lifecycle:lifecycle-common-java8: $l ifecycle "
184- testImplementation " androidx.arch.core:core- testing: $c oreTesting "
185- androidTestImplementation " androidx.arch.core:core- testing: $c oreTesting "
184+ implementation AndroidX . lifecycle. commonJava8
185+ testImplementation AndroidX . archCore . testing
186+ androidTestImplementation AndroidX . archCore . testing
186187
187188 // Room
188- implementation " androidx .room:room- runtime: $r oom "
189- implementation " androidx .room:room-rxjava2: $r oom "
190- implementation " androidx .room:room- ktx: $r oom "
191- kapt " androidx .room:room- compiler: $r oom "
192- testImplementation " androidx .room:room- testing: $r oom "
193- androidTestImplementation " androidx .room:room- testing: $r oom "
189+ implementation AndroidX . room. runtime
190+ implementation AndroidX . room. rxJava2
191+ implementation AndroidX . room. ktx
192+ kapt AndroidX . room. compiler
193+ testImplementation AndroidX . room. testing
194+ androidTestImplementation AndroidX . room. testing
194195
195196 // WorkManager
196- implementation " androidx .work:work-runtime-ktx: $w orkManager "
197- androidTestImplementation " androidx .work:work- testing: $w orkManager "
198- implementation " androidx .work:work-rxjava2: $w orkManager "
197+ implementation AndroidX . work. runtimeKtx
198+ androidTestImplementation AndroidX . work. testing
199+ implementation AndroidX . work. rxJava2
199200
200201 // Dagger
201- kapt " com.google. dagger:dagger- android- processor: $d agger "
202- kapt " com.google. dagger:dagger- compiler: $d agger "
203- kaptAndroidTest " com.google.dagger:dagger-android-processor:$d agger "
204- kaptAndroidTest " com.google.dagger:dagger-compiler:$d agger "
202+ kapt Google . dagger. android. processor
203+ kapt Google . dagger. compiler
204+ kaptAndroidTest " com.google.dagger:dagger-android-processor:_ "
205+ kaptAndroidTest " com.google.dagger:dagger-compiler:_ "
205206
206207 // Glide
207- implementation " com.github.bumptech.glide:glide:$g lide "
208- implementation " com.github.bumptech.glide:okhttp3-integration:$g lide "
209- kapt " com.github.bumptech.glide:compiler:$g lide "
208+ implementation " com.github.bumptech.glide:glide:_ "
209+ implementation " com.github.bumptech.glide:okhttp3-integration:_ "
210+ kapt " com.github.bumptech.glide:compiler:_ "
210211
211212 // Lottie
212- implementation " com.airbnb.android:lottie:$l ottieVersion "
213+ implementation " com.airbnb.android:lottie:_ "
213214
214215 // Apache commons
215- implementation " org.apache.commons:commons-math3:$c ommonsMath "
216+ implementation " org.apache.commons:commons-math3:_ "
216217
217218 // Play Store referrer library
218- implementation(" com.android.installreferrer:installreferrer:$r eferrerLibrary " )
219+ implementation(" com.android.installreferrer:installreferrer:_ " )
219220
220221 // Testing dependencies
221- androidTestImplementation " androidx .test: runner: $t estRunner "
222- androidTestImplementation " androidx .test: rules: $t estRunner "
223- androidTestUtil " androidx .test: orchestrator: $t estRunner "
224- androidTestImplementation " org .mockito:mockito- android: $m ockito "
225- androidTestImplementation " com.nhaarman.mockitokotlin2: mockito- kotlin: $m ockitoKotlin "
226- androidTestImplementation " com.squareup.okhttp3:mockwebserver: $o kHttp "
227- androidTestImplementation " org.jetbrains.kotlin:kotlin-reflect:$k otlin_version "
222+ androidTestImplementation AndroidX . test. runner
223+ androidTestImplementation AndroidX . test. rules
224+ androidTestUtil AndroidX . test. orchestrator
225+ androidTestImplementation Testing . mockito. android
226+ androidTestImplementation Testing . mockito. kotlin
227+ androidTestImplementation Square . okHttp3 . mockWebServer
228+ androidTestImplementation " org.jetbrains.kotlin:kotlin-reflect:_ "
228229}
0 commit comments