aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorHermes Junior <ohermesjunior@gmail.com>2020-06-18 09:57:47 +0000
committerOHermesJunior <ohermesjunior@gmail.com>2020-06-18 09:58:34 +0000
commitdc39cb72afe70dbc6a42ef6a62669dda5603c2c5 (patch)
tree8f6646b9566b3f3bd4f3fc657d69b34d84de560f /app/build.gradle
parentb5fec7dac7e559391a95adb4342790fa54b172f9 (diff)
downloadinfinity-for-reddit-dc39cb72afe70dbc6a42ef6a62669dda5603c2c5.tar
infinity-for-reddit-dc39cb72afe70dbc6a42ef6a62669dda5603c2c5.tar.gz
infinity-for-reddit-dc39cb72afe70dbc6a42ef6a62669dda5603c2c5.tar.bz2
infinity-for-reddit-dc39cb72afe70dbc6a42ef6a62669dda5603c2c5.tar.lz
infinity-for-reddit-dc39cb72afe70dbc6a42ef6a62669dda5603c2c5.tar.xz
infinity-for-reddit-dc39cb72afe70dbc6a42ef6a62669dda5603c2c5.tar.zst
infinity-for-reddit-dc39cb72afe70dbc6a42ef6a62669dda5603c2c5.zip
Enable EventBus Index, avoids reflection, and better performance.
Diffstat (limited to '')
-rw-r--r--app/build.gradle10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 8b7abdaf..a63a5745 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -9,6 +9,11 @@ android {
versionCode 35
versionName "3.2.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ javaCompileOptions {
+ annotationProcessorOptions {
+ arguments = [ eventBusIndex : 'ml.docilealligator.inifinityforreddit.EventBusIndex' ]
+ }
+ }
}
buildTypes {
release {
@@ -67,7 +72,10 @@ dependencies {
implementation 'io.noties.markwon:recycler-table:4.3.1'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.19'
implementation 'com.github.Ferfalk:SimpleSearchView:0.1.4'
- implementation 'org.greenrobot:eventbus:3.2.0'
+
+ def eventbusVersion = '3.2.0'
+ implementation "org.greenrobot:eventbus:$eventbusVersion"
+ annotationProcessor "org.greenrobot:eventbus-annotation-processor:$eventbusVersion"
implementation 'com.libRG:customtextview:2.4'
implementation 'com.github.Deishelon:RoundedBottomSheet:1.0.1'
implementation 'com.github.livefront:bridge:v1.2.1'