Skip to content

Commit

Permalink
Deps: Replace eventbus dependency with eventbus java
Browse files Browse the repository at this point in the history
Removing the 'eventbus' dependency wasn't enough by itself as the build
was then failing. Adding the transient 'eventbus-java' dependency was
actually required in order to make the build successful again.

------------------------------------------------------------------------

This replacement was suggested by the dependency analysis report,
see below:

Unused dependencies which should be removed:
  implementation 'org.greenrobot:eventbus:3.3.1'

These transitive dependencies should be declared directly:
  ...
  implementation 'org.greenrobot:eventbus-java:3.3.1'
  ...
  • Loading branch information
ParaskP7 committed Aug 13, 2024
1 parent 95e4749 commit 661d131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WordPressUtils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies {
implementation "com.google.android.material:material:$materialVersion"
implementation "androidx.swiperefreshlayout:swiperefreshlayout:$androidxSwipeRefreshLayoutVersion"
implementation "androidx.recyclerview:recyclerview:$androidxRecyclerViewVersion"
implementation "org.greenrobot:eventbus:$eventBusVersion"
implementation "org.greenrobot:eventbus-java:$eventBusVersion"

implementation "androidx.core:core:$androidxCoreVersion"

Expand Down

0 comments on commit 661d131

Please sign in to comment.