From 89789974754f35a1aa80b84971dfc0569dc8cb0a Mon Sep 17 00:00:00 2001 From: Petros Paraskevopoulos Date: Mon, 13 Mar 2023 16:31:58 +0200 Subject: [PATCH] Deps: Add retrofit transitively used dependencies on wordpress It is generally recommended that transitively used dependencies should be declared directly. ------------------------------------------------------------------------ Actually, updating 'Zendesk', which was the dependency that was providing this transitively used 'Retrofit' dependency to the project, was causing a compilation failure. This is due to the fact that the [TenorGifClient] is directly using this dependency, but could no longer resolve it. PS: This is (most probably) due to the fact that this 'Retrofit' dependency was no longer available on newer 'Zendesk' versions. --- WordPress/build.gradle | 1 + build.gradle | 1 + 2 files changed, 2 insertions(+) diff --git a/WordPress/build.gradle b/WordPress/build.gradle index eb928f48101e..54c897202e53 100644 --- a/WordPress/build.gradle +++ b/WordPress/build.gradle @@ -413,6 +413,7 @@ dependencies { implementation "org.greenrobot:eventbus:$eventBusVersion" implementation "org.greenrobot:eventbus-java:$eventBusVersion" implementation "com.squareup.okio:okio:$squareupOkioVersion" + implementation "com.squareup.retrofit2:retrofit:$squareupRetrofitVersion" implementation "org.apache.commons:commons-text:$apacheCommonsTextVersion" implementation "com.airbnb.android:lottie:$lottieVersion" implementation "com.airbnb.android:lottie-compose:$lottieVersion" diff --git a/build.gradle b/build.gradle index 66fd4a5acdec..295047984d17 100644 --- a/build.gradle +++ b/build.gradle @@ -75,6 +75,7 @@ ext { philjayMpAndroidChartVersion = 'v3.1.0' squareupKotlinPoetVersion = '1.6.0' squareupOkioVersion = '2.8.0' + squareupRetrofitVersion = '2.9.0' uCropVersion = '2.2.4' zendeskVersion = '5.0.2'