@@ -37,7 +37,7 @@ android {
3737 applicationId ' org.wikipedia'
3838 minSdk 21
3939 targetSdk 34
40- versionCode 50485
40+ versionCode 50496
4141 testApplicationId ' org.wikipedia.test'
4242 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
4343 testInstrumentationRunnerArguments clearPackageData : ' true'
@@ -171,113 +171,105 @@ dependencies {
171171 // use http://gradleplease.appspot.com/ or http://search.maven.org/.
172172 // Debug with ./gradlew -q app:dependencies --configuration compile
173173
174- String okHttpVersion = ' 4.12.0'
175- String retrofitVersion = ' 2.11.0'
176- String glideVersion = ' 4.16.0'
177- String mockitoVersion = ' 5.2.0'
178- String leakCanaryVersion = ' 2.14'
179- String kotlinCoroutinesVersion = ' 1.8.0'
180- String firebaseMessagingVersion = ' 23.4.1'
181- String mlKitVersion = ' 17.0.5'
182- String googlePayVersion = ' 19.3.0'
183- String roomVersion = " 2.6.1"
184- String espressoVersion = ' 3.5.1'
185- String serialization_version = ' 1.6.3'
186- String metricsVersion = ' 2.4'
187-
188- coreLibraryDesugaring ' com.android.tools:desugar_jdk_libs:2.0.4'
189-
190- implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version "
191- implementation " org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinCoroutinesVersion "
192- implementation " org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinCoroutinesVersion "
193- implementation " org.jetbrains.kotlinx:kotlinx-serialization-json:$serialization_version "
194-
195- implementation " com.google.android.material:material:1.11.0"
196- implementation ' androidx.appcompat:appcompat:1.6.1'
197- implementation " androidx.core:core-ktx:1.13.0"
198- implementation " androidx.browser:browser:1.8.0"
199- implementation ' androidx.constraintlayout:constraintlayout:2.1.4'
200- implementation " androidx.fragment:fragment-ktx:1.6.2"
201- implementation " androidx.paging:paging-runtime-ktx:3.2.1"
202- implementation " androidx.palette:palette-ktx:1.0.0"
203- implementation " androidx.preference:preference-ktx:1.2.1"
204- implementation " androidx.recyclerview:recyclerview:1.3.2"
205- implementation " androidx.viewpager2:viewpager2:1.0.0"
206- implementation ' com.google.android.flexbox:flexbox:3.0.0'
207- implementation ' com.android.installreferrer:installreferrer:2.2'
208- implementation ' androidx.drawerlayout:drawerlayout:1.2.0'
209- implementation ' androidx.work:work-runtime-ktx:2.9.0'
210- implementation " org.wikimedia.metrics:metrics-platform:$metricsVersion "
211-
212- implementation (' com.github.michael-rapp:chrome-like-tab-switcher:0.4.6' ) {
174+ coreLibraryDesugaring libs. desugar. jdk. libs
175+
176+ implementation libs. kotlin. stdlib. jdk8
177+ implementation libs. kotlinx. coroutines. core
178+ implementation libs. kotlinx. coroutines. android
179+ implementation libs. kotlinx. serialization. json
180+
181+ implementation libs. material
182+ implementation libs. appcompat
183+ implementation libs. core. ktx
184+ implementation libs. browser
185+ implementation libs. constraintlayout
186+ implementation libs. fragment. ktx
187+ implementation libs. paging. runtime. ktx
188+ implementation libs. palette. ktx
189+ implementation libs. preference. ktx
190+ implementation libs. recyclerview
191+ implementation libs. viewpager2
192+ implementation libs. flexbox
193+ implementation libs. drawerlayout
194+ implementation libs. work. runtime. ktx
195+ implementation libs. metrics. platform
196+
197+ implementation (libs. chrome. like. tab. switcher) {
213198 exclude group : ' org.jetbrains'
214199 }
215200
216- implementation " com.github.bumptech. glide:glide: $g lideVersion "
217- implementation " com.github.bumptech.glide: okhttp3- integration: $g lideVersion "
218- ksp " com.github.bumptech. glide: ksp: $g lideVersion "
219-
220- implementation " com.squareup.okhttp3: okhttp- tls: $o kHttpVersion "
221- implementation " com.squareup. okhttp3: logging- interceptor: $o kHttpVersion "
222- implementation " com.squareup.retrofit2: retrofit: $r etrofitVersion "
223- implementation " com.squareup. retrofit2: adapter- rxjava3: $r etrofitVersion "
224- implementation " io.reactivex.rxjava3: rxjava:3.1.8 "
225- implementation " io.reactivex.rxjava3: rxandroid:3.0.2 "
226- implementation ' org.apache. commons:commons-lang3:3.14.0 '
227- implementation ' org .jsoup:jsoup:1.17.2 '
228- implementation ' com.github.chrisbanes:PhotoView:2.3.0 '
229- implementation ' com.github.skydoves: balloon:1.6.4 '
230- implementation " com.jakewharton.retrofit: retrofit2- kotlinx- serialization-converter:1.0.0 "
231-
232- implementation ' org.maplibre.gl: android-sdk:10.3.0 '
233- implementation ' org.maplibre.gl: android- plugin- annotation-v9:2.0.2 '
234-
235- implementation( " androidx.room:room- runtime: $r oomVersion " )
236- annotationProcessor " androidx.room:room- compiler: $r oomVersion "
237- ksp " androidx.room:room- compiler: $r oomVersion "
238- implementation( " androidx.room:room- ktx: $r oomVersion " )
239- implementation " androidx.room:room- rxjava3: $r oomVersion "
201+ implementation libs . glide
202+ implementation libs . okhttp3. integration
203+ ksp libs . glide. ksp
204+
205+ implementation libs . okhttp. tls
206+ implementation libs . okhttp3. logging. interceptor
207+ implementation libs . retrofit
208+ implementation libs . retrofit2. adapter. rxjava3
209+ implementation libs . rxjava
210+ implementation libs . rxandroid
211+ implementation libs . commons. lang3
212+ implementation libs . jsoup
213+ implementation libs . photoview
214+ implementation libs . balloon
215+ implementation libs . retrofit2. kotlinx. serialization. converter
216+
217+ implementation libs . android. sdk
218+ implementation libs . android. plugin. annotation. v9
219+
220+ implementation libs . androidx. room. runtime
221+ annotationProcessor libs . androidx. room. compiler
222+ ksp libs . androidx. room. compiler
223+ implementation libs . androidx. room. ktx
224+ implementation libs . androidx. room. rxjava3
240225
241226 // For language detection during editing
242- prodImplementation " com.google.mlkit: language-id: $m lKitVersion "
243- betaImplementation " com.google.mlkit: language-id: $m lKitVersion "
244- alphaImplementation " com.google.mlkit: language-id: $m lKitVersion "
245- devImplementation " com.google.mlkit: language-id: $m lKitVersion "
246- customImplementation " com.google.mlkit: language-id: $m lKitVersion "
227+ prodImplementation libs . com. google. mlkit. language. id
228+ betaImplementation libs . com. google. mlkit. language. id
229+ alphaImplementation libs . com. google. mlkit. language. id
230+ devImplementation libs . com. google. mlkit. language. id
231+ customImplementation libs . com. google. mlkit. language. id
247232
248233 // For receiving push notifications for logged-in users.
249- prodImplementation " com.google.firebase: firebase- messaging-ktx: $f irebaseMessagingVersion "
250- betaImplementation " com.google.firebase: firebase- messaging-ktx: $f irebaseMessagingVersion "
251- alphaImplementation " com.google.firebase: firebase- messaging-ktx: $f irebaseMessagingVersion "
252- devImplementation " com.google.firebase: firebase- messaging-ktx: $f irebaseMessagingVersion "
253- customImplementation " com.google.firebase: firebase- messaging-ktx: $f irebaseMessagingVersion "
234+ prodImplementation libs . com. google. firebase. firebase. messaging. ktx3
235+ betaImplementation libs . com. google. firebase. firebase. messaging. ktx3
236+ alphaImplementation libs . com. google. firebase. firebase. messaging. ktx3
237+ devImplementation libs . com. google. firebase. firebase. messaging. ktx3
238+ customImplementation libs . com. google. firebase. firebase. messaging. ktx3
254239
255240 // For integrating with Google Pay for donations
256- prodImplementation " com.google.android.gms:play-services-wallet:$googlePayVersion "
257- betaImplementation " com.google.android.gms:play-services-wallet:$googlePayVersion "
258- alphaImplementation " com.google.android.gms:play-services-wallet:$googlePayVersion "
259- devImplementation " com.google.android.gms:play-services-wallet:$googlePayVersion "
260- customImplementation " com.google.android.gms:play-services-wallet:$googlePayVersion "
261-
262- debugImplementation " com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion "
263- implementation " com.squareup.leakcanary:plumber-android:$leakCanaryVersion "
264-
265- testImplementation ' junit:junit:4.13.2'
266- testImplementation " org.mockito:mockito-inline:$mockitoVersion "
267- testImplementation ' org.robolectric:robolectric:4.12.1'
268- testImplementation " com.squareup.okhttp3:okhttp:$okHttpVersion "
269- testImplementation " com.squareup.okhttp3:mockwebserver:$okHttpVersion "
270- testImplementation ' org.hamcrest:hamcrest:2.2'
271- testImplementation " androidx.room:room-testing:$roomVersion "
272-
273- androidTestImplementation " androidx.test.espresso:espresso-core:$espressoVersion "
274- androidTestImplementation " androidx.test.espresso:espresso-contrib:$espressoVersion "
275- androidTestImplementation " androidx.test.espresso:espresso-intents:$espressoVersion "
276- androidTestImplementation " androidx.test.espresso:espresso-web:$espressoVersion "
277- androidTestImplementation ' androidx.test.ext:junit:1.1.5'
278- androidTestImplementation ' androidx.test.uiautomator:uiautomator:2.3.0'
279- androidTestImplementation " androidx.room:room-testing:$roomVersion "
280- androidTestUtil ' androidx.test:orchestrator:1.4.2'
241+ prodImplementation libs. com. google. android. gms. play. services. wallet2
242+ betaImplementation libs. com. google. android. gms. play. services. wallet2
243+ alphaImplementation libs. com. google. android. gms. play. services. wallet2
244+ devImplementation libs. com. google. android. gms. play. services. wallet2
245+ customImplementation libs. com. google. android. gms. play. services. wallet2
246+
247+ // For InstallReferrer Library
248+ prodImplementation libs. installreferrer
249+ betaImplementation libs. installreferrer
250+ alphaImplementation libs. installreferrer
251+ devImplementation libs. installreferrer
252+ customImplementation libs. installreferrer
253+
254+ debugImplementation libs. leakcanary. android
255+ implementation libs. plumber. android
256+
257+ testImplementation libs. junit
258+ testImplementation libs. mockito. inline
259+ testImplementation libs. robolectric
260+ testImplementation libs. okhttp3. okhttp
261+ testImplementation libs. mockwebserver
262+ testImplementation libs. hamcrest
263+ testImplementation libs. room. testing
264+
265+ androidTestImplementation libs. espresso. core
266+ androidTestImplementation libs. espresso. contrib
267+ androidTestImplementation libs. androidx. espresso. intents
268+ androidTestImplementation libs. espresso. web
269+ androidTestImplementation libs. androidx. junit
270+ androidTestImplementation libs. androidx. uiautomator
271+ androidTestImplementation libs. room. testing
272+ androidTestUtil libs. androidx. orchestrator
281273}
282274
283275private setSigningConfigKey (config , Properties props ) {
0 commit comments