diff options
author | ByteHamster <info@bytehamster.com> | 2019-05-28 17:26:09 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-05-28 17:26:09 +0200 |
commit | ce8adc4b2654a78a8cbd8681935696e0b2a76f0a (patch) | |
tree | 5e33508f229f79fd0c40ef355bdda1f74a70a0f8 /app/build.gradle | |
parent | 83a6d70387e8df95e04f198ef99f992aef674413 (diff) | |
download | AntennaPod-ce8adc4b2654a78a8cbd8681935696e0b2a76f0a.zip |
Use annotation processor for EventBus
Diffstat (limited to 'app/build.gradle')
-rw-r--r-- | app/build.gradle | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle index 97b9596b9..b4812e083 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -24,6 +24,12 @@ android { testApplicationId "de.test.antennapod" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" generatedDensities = [] + + javaCompileOptions { + annotationProcessorOptions { + arguments = [ eventBusIndex : 'de.danoeh.antennapod.ApEventBusIndex' ] + } + } } signingConfigs { @@ -145,6 +151,7 @@ dependencies { implementation "com.squareup.okhttp3:okhttp-urlconnection:$okhttpVersion" implementation "com.squareup.okio:okio:$okioVersion" implementation "org.greenrobot:eventbus:$eventbusVersion" + annotationProcessor "org.greenrobot:eventbus-annotation-processor:$eventbusVersion" implementation "io.reactivex.rxjava2:rxandroid:$rxAndroidVersion" implementation "io.reactivex.rxjava2:rxjava:$rxJavaVersion" |