Skip to content

Commit

Permalink
Add consumer ProGuard configuration
Browse files Browse the repository at this point in the history
Closes square#132
  • Loading branch information
chalup committed May 20, 2015
1 parent 70b7506 commit 73deddb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions leakcanary-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ android {
targetSdkVersion rootProject.ext.targetSdkVersion
buildConfigField "String", "LIBRARY_VERSION", "\"${rootProject.ext.VERSION_NAME}\""
buildConfigField "String", "GIT_SHA", "\"${gitSha()}\""
consumerProguardFiles 'consumer-proguard-rules.pro'
}
}

Expand Down
3 changes: 3 additions & 0 deletions leakcanary-android/consumer-proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-keep class org.eclipse.mat.** { *; }
-keep class com.squareup.leakcanary.** { *; }

0 comments on commit 73deddb

Please sign in to comment.