Skip to content

Commit

Permalink
Fix NPE when scrubing caused by proguard #1
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmigloz committed Dec 17, 2018
1 parent edb7706 commit 5f9ca36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linechart/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ android {

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
minifyEnabled true
consumerProguardFiles 'proguard-rules.pro'
}
}

Expand Down
2 changes: 2 additions & 0 deletions linechart/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

-keep class com.davidmiguel.linechart.** { *; }

0 comments on commit 5f9ca36

Please sign in to comment.