Skip to content

Commit

Permalink
Merge pull request #153 from wordpress-mobile/deps/add-back-eventbus-…
Browse files Browse the repository at this point in the history
…android-dependency

[Deps] Add Back EventBus Android Dependency
  • Loading branch information
ParaskP7 authored Sep 24, 2024
2 parents f2f9795 + 49314fd commit 3d7484a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions WordPressUtils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +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 All @@ -29,6 +30,15 @@ dependencies {
androidTestImplementation "androidx.test:runner:$androidxTestCoreVersion"
}

dependencyAnalysis {
issues {
onUnusedDependencies {
// This dependency is actually needed otherwise the app will crash with a runtime exception.
exclude("org.greenrobot:eventbus")
}
}
}

android {
namespace "org.wordpress.android.util"

Expand Down

0 comments on commit 3d7484a

Please sign in to comment.