From 45cdaff70691b7a9e39fdb0cacb7c1bbfbdfaed6 Mon Sep 17 00:00:00 2001 From: serso Date: Sun, 27 Mar 2016 21:46:33 +0200 Subject: [PATCH] Proguard and javax.measure --- app/proguard-debug.cfg | 6 ++++++ app/proguard.cfg | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/app/proguard-debug.cfg b/app/proguard-debug.cfg index 0f5d3d93..496c78a4 100644 --- a/app/proguard-debug.cfg +++ b/app/proguard-debug.cfg @@ -82,6 +82,12 @@ -keep class !android.support.v7.internal.view.menu.MenuBuilder, !android.support.v7.internal.view.menu.SubMenuBuilder, android.support.v7.** { *; } -keep interface android.support.v7.** { *; } +## JAVAX UNITS + +-keep class javax.measure.** { *; } +-keepnames class javax.measure.** { *; } +-keepclassmembers class javax.measure.** { *; } + ## ACRA diff --git a/app/proguard.cfg b/app/proguard.cfg index c690dfaf..f85f4f1f 100644 --- a/app/proguard.cfg +++ b/app/proguard.cfg @@ -83,6 +83,12 @@ -keep class !android.support.v7.internal.view.menu.MenuBuilder, !android.support.v7.internal.view.menu.SubMenuBuilder, android.support.v7.** { *; } -keep interface android.support.v7.** { *; } +## JAVAX UNITS + +-keep class javax.measure.** { *; } +-keepnames class javax.measure.** { *; } +-keepclassmembers class javax.measure.** { *; } + ## LOGS -assumenosideeffects class android.util.Log {