Skip to content

Commit

Permalink
Deps: Add retrofit transitively used dependencies on wordpress
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ParaskP7 committed Mar 13, 2023
1 parent 21e4eea commit 8978997
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions WordPress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 8978997

Please sign in to comment.