From 55101b1a4a270a5158daa78c49f4c949bd727ef4 Mon Sep 17 00:00:00 2001 From: TacoTheDank Date: Wed, 22 Apr 2020 22:27:30 -0400 Subject: [PATCH] Update nucleus library (#2932) --- app/build.gradle | 2 +- app/proguard-rules.pro | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 59ee6d25aa..203c1aa335 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -193,7 +193,7 @@ dependencies { implementation 'com.github.tfcporciuncula:flow-preferences:1.1.1' // Model View Presenter - final nucleus_version = '3.0.0' + final nucleus_version = '6.0.0' implementation "info.android15.nucleus:nucleus:$nucleus_version" implementation "info.android15.nucleus:nucleus-support-v7:$nucleus_version" diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index c9200b7817..5b3943f6e4 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -19,7 +19,9 @@ -keep class com.hippo.image.** { *; } -keep interface com.hippo.image.** { *; } --dontwarn nucleus.view.NucleusActionBarActivity +-keepclassmembers class * extends nucleus.presenter.Presenter { + (); +} # OkHttp -dontwarn okhttp3.**