Skip to content

Commit

Permalink
Use proguard to strip log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
abaker committed Apr 26, 2018
1 parent fe3c750 commit 1b53dff
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/proguard.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
-keep class com.rey.material.widget.Slider
-dontwarn com.rey.material.**

# remove logging statements
-assumenosideeffects class timber.log.Timber* {
public static *** v(...);
public static *** d(...);
public static *** i(...);
}

# https://code.google.com/p/android/issues/detail?id=78293
-keep public class android.support.v7.widget.** { *; }
-keep public class android.support.v7.internal.widget.** { *; }
Expand Down

0 comments on commit 1b53dff

Please sign in to comment.