Decoupled Android EventBus from Core EventBus. Removed the need to Jetify this library. - #665
Decoupled Android EventBus from Core EventBus. Removed the need to Jetify this library.#665andob wants to merge 4 commits into
Conversation
|
This is actually a great idea to work off, thanks for this! @greenrobot Thoughts? Edit: would make sense to name the base library |
@greenrobot-team Do you need me to do something on my side regarding this, or you will do this change after the review / merge? Also I think naming can be configured when publishing maven artifacts, no need to rename the modules. |
|
There is nothing for you to do, thanks again for the suggestion! |
|
Closed in favor of #670. |
Java users will import the library with:
Android users will import the library with:
If android users will import the library forgetting to also import android compatibility module:
A runtime exception will be thown at
eventBus.register(this):Looks like you are using the latest version of EventBus on Android..., crashing the application. This will help users when they update the library, notifying them of the breaking change.