@@ -37,7 +37,7 @@ android {
3737        applicationId ' org.wikipedia' 
3838        minSdkVersion 21 
3939        targetSdkVersion 33 
40-         versionCode 50444 
40+         versionCode 50448 
4141        testApplicationId ' org.wikipedia.test' 
4242        testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner" 
4343        testInstrumentationRunnerArguments clearPackageData : ' true' 
@@ -56,6 +56,10 @@ android {
5656        buildConfigField " String" " META_WIKI_BASE_URI" ' "https://meta.wikimedia.org"' 
5757        buildConfigField " String" " EVENTGATE_ANALYTICS_EXTERNAL_BASE_URI" ' "https://intake-analytics.wikimedia.org"' 
5858        buildConfigField " String" " EVENTGATE_LOGGING_EXTERNAL_BASE_URI" ' "https://intake-logging.wikimedia.org"' 
59+         def  TEST_LOGIN_USERNAME  =  System . getenv(' TEST_LOGIN_USERNAME' 
60+         def  TEST_LOGIN_PASSWORD  =  System . getenv(' TEST_LOGIN_PASSWORD' 
61+         buildConfigField " String" " TEST_LOGIN_USERNAME" TEST_LOGIN_USERNAME  !=  null  ?  " \" ${ TEST_LOGIN_USERNAME} \" " :  ' "Foo"' 
62+         buildConfigField " String" " TEST_LOGIN_PASSWORD" TEST_LOGIN_PASSWORD  !=  null  ?  " \" ${ TEST_LOGIN_PASSWORD} \" " :  ' "Bar"' 
5963    }
6064
6165    testOptions {
@@ -110,11 +114,6 @@ android {
110114            buildConfigField " String" " META_WIKI_BASE_URI" ' "https://meta.wikimedia.beta.wmflabs.org"' 
111115            buildConfigField " String" " EVENTGATE_ANALYTICS_EXTERNAL_BASE_URI" ' "https://intake-analytics.wikimedia.beta.wmflabs.org"' 
112116            buildConfigField " String" " EVENTGATE_LOGGING_EXTERNAL_BASE_URI" ' "https://intake-logging.wikimedia.beta.wmflabs.org"' 
113- 
114-             def  TEST_LOGIN_USERNAME  =  System . getenv(' TEST_LOGIN_USERNAME' 
115-             def  TEST_LOGIN_PASSWORD  =  System . getenv(' TEST_LOGIN_PASSWORD' 
116-             buildConfigField " String" " TEST_LOGIN_USERNAME" TEST_LOGIN_USERNAME  !=  null  ?  " \" ${ TEST_LOGIN_USERNAME} \" " :  ' "Foo"' 
117-             buildConfigField " String" " TEST_LOGIN_PASSWORD" TEST_LOGIN_PASSWORD  !=  null  ?  " \" ${ TEST_LOGIN_PASSWORD} \" " :  ' "Bar"' 
118117        }
119118        prod {
120119            versionName computeVersionName(defaultConfig. versionCode, ' r' 
@@ -172,15 +171,16 @@ dependencies {
172171
173172    String  okHttpVersion =  ' 4.10.0' 
174173    String  retrofitVersion =  ' 2.9.0' 
175-     String  glideVersion =  ' 4.13.2 ' 
174+     String  glideVersion =  ' 4.15.1 ' 
176175    String  mockitoVersion =  ' 5.2.0' 
177-     String  leakCanaryVersion =  ' 2.10 ' 
178-     String  kotlinCoroutinesVersion =  ' 1.3.9 ' 
176+     String  leakCanaryVersion =  ' 2.11 ' 
177+     String  kotlinCoroutinesVersion =  ' 1.7.1 ' 
179178    String  firebaseMessagingVersion =  ' 23.1.2' 
180179    String  mlKitVersion =  ' 17.0.4' 
181180    String  roomVersion =  " 2.5.1" 
182181    String  espressoVersion =  ' 3.5.1' 
183-     String  serialization_version =  ' 1.4.0' 
182+     String  serialization_version =  ' 1.5.1' 
183+     String  metricsVersion =  ' 1.12' 
184184
185185    coreLibraryDesugaring ' com.android.tools:desugar_jdk_libs:2.0.3' 
186186
@@ -204,6 +204,7 @@ dependencies {
204204    implementation ' com.android.installreferrer:installreferrer:2.2' 
205205    implementation ' androidx.drawerlayout:drawerlayout:1.2.0' 
206206    implementation ' androidx.work:work-runtime-ktx:2.8.1' 
207+     implementation " org.wikimedia.metrics:metrics-platform:$metricsVersion  " 
207208
208209    implementation (' com.github.michael-rapp:chrome-like-tab-switcher:0.4.6' 
209210        exclude group : ' org.jetbrains' 
@@ -219,10 +220,10 @@ dependencies {
219220    implementation " io.reactivex.rxjava3:rxjava:3.1.6" 
220221    implementation " io.reactivex.rxjava3:rxandroid:3.0.2" 
221222    implementation ' org.apache.commons:commons-lang3:3.12.0' 
222-     implementation ' org.jsoup:jsoup:1.15.4 ' 
223+     implementation ' org.jsoup:jsoup:1.16.1 ' 
223224    implementation ' com.github.chrisbanes:PhotoView:2.3.0' 
224-     implementation " com.github.skydoves:balloon:1.3.4 " 
225-     implementation " com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:0.8 .0" 
225+     implementation " com.github.skydoves:balloon:1.5.3 " 
226+     implementation " com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:1.0 .0" 
226227
227228    implementation(" androidx.room:room-runtime:$roomVersion  " 
228229    annotationProcessor " androidx.room:room-compiler:$roomVersion  " 
@@ -249,7 +250,7 @@ dependencies {
249250
250251    testImplementation ' junit:junit:4.13.2' 
251252    testImplementation " org.mockito:mockito-inline:$mockitoVersion  " 
252-     testImplementation ' org.robolectric:robolectric:4.9.2 ' 
253+     testImplementation ' org.robolectric:robolectric:4.10.3 ' 
253254    testImplementation " com.squareup.okhttp3:okhttp:$okHttpVersion  " 
254255    testImplementation " com.squareup.okhttp3:mockwebserver:$okHttpVersion  " 
255256    testImplementation ' org.hamcrest:hamcrest:2.2' 
0 commit comments