From b5d5459d485f34b2594e4de0b9260bedb2efe87e Mon Sep 17 00:00:00 2001 From: Neel Doshi Date: Sat, 6 Jul 2024 10:48:55 +0530 Subject: [PATCH] Deps: Migrated `indexosMediaForMobile` to Version Catalog --- WordPress/build.gradle | 4 ++-- build.gradle | 1 - gradle/libs.versions.toml | 3 +++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/WordPress/build.gradle b/WordPress/build.gradle index 01feb87b844d..8e5467af1b79 100644 --- a/WordPress/build.gradle +++ b/WordPress/build.gradle @@ -459,8 +459,8 @@ dependencies { implementation libs.glide ksp libs.glide.ksp implementation libs.glide.volley.integration - implementation "com.github.indexos.media-for-mobile:domain:$indexosMediaForMobileVersion" - implementation "com.github.indexos.media-for-mobile:android:$indexosMediaForMobileVersion" + implementation libs.indexos.media.for.mobile.domain + implementation libs.indexos.media.for.mobile.android implementation libs.zendesk implementation (name:'tenor-android-core-jetified', ext:'aar') // Jetified Tenor Gif library implementation libs.kotlinx.coroutines.core diff --git a/build.gradle b/build.gradle index ae0608953364..438537e23397 100644 --- a/build.gradle +++ b/build.gradle @@ -28,7 +28,6 @@ ext { wordPressFluxCVersion = 'trunk-79f2bc35285748c715e00f2a6648ed6831632178' wordPressLoginVersion = '1.16.0' wordPressUtilsVersion = '3.14.0' - indexosMediaForMobileVersion = '43a9026f0973a2f0a74fa813132f6a16f7499c3a' gravatarVersion = '1.0.0' // main diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 943c3b9e7fe3..db698813be91 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -48,6 +48,7 @@ googlePlayAppUpdate = '2.1.0' googlePlayReview = '2.0.1' googlePlayServicesAuth = '20.4.1' gson = '2.10.1' +indexosMediaForMobile = '43a9026f0973a2f0a74fa813132f6a16f7499c3a' jsoup = '1.16.2' junit = '4.13.2' kotlinxCoroutines = '1.7.3' @@ -168,6 +169,8 @@ google-play-review-ktx = { group = "com.google.android.play", name = "review-ktx google-play-services-auth = { group = "com.google.android.gms", name = "play-services-auth", version.ref ="googlePlayServicesAuth" } greenrobot-eventBus = { group = "org.greenrobot", name = "eventbus", version.ref ="eventBus" } greenrobot-eventBus-java = { group = "org.greenrobot", name = "eventbus-java", version.ref ="eventBus" } +indexos-media-for-mobile-android = { group = "com.github.indexos.media-for-mobile", name = "android", version.ref ="indexosMediaForMobile" } +indexos-media-for-mobile-domain = { group = "com.github.indexos.media-for-mobile", name = "domain", version.ref ="indexosMediaForMobile" } installReferrer = { group = "com.android.installreferrer", name = "installreferrer", version.ref ="androidInstallReferrer" } jsoup = { group = "org.jsoup", name = "jsoup", version.ref ="jsoup" } junit = { group = "junit", name = "junit", version.ref ="junit" }