Closed 582527512 closed 2 years ago
EventBus is available on Maven Central, as noted in the README. If you have Maven Central added to the repository section of your project it should be found:
repositories {
mavenCentral()
}
Check settings.gradle
file in your project,
dependencyResolutionManagement {
repositories {
// check if it exists, add it if not
mavenCentral()
}
}
@HJHL Thanks! This is the new way to declare repositories globally in Gradle: https://docs.gradle.org/current/userguide/dependency_management.html#sub:centralized-repository-declaration
It's ok before then. After update gradle version to 7.4.2 , there got these question "Could not resolve org.greenrobot:eventbus:3.3.1." "Possible solution: