The Android Gradle plugin 2.2 has introduced an annotationProcessor, meaning apt doesn't need to be used anymore.
How would you go about configuring the EventBusIndex with this annotationProcessor? As the documentation currently relies on using apt and using the apt { arguments { } } closure, to specify the event bus index.
Hi @andrewlord1990!
I used this to make it works.
defaultConfig {
...
javaCompileOptions {
annotationProcessorOptions {
arguments = [eventBusIndex: "com.example.EventBusIndex"]
}
}
...
}
Excellent, thanks very much!
Updated the docs. -ut
Most helpful comment
Hi @andrewlord1990!
I used this to make it works.