Skip to content

Commit

Permalink
adds proguard header files
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders committed May 19, 2016
1 parent 78976df commit 9d2241a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/build.gradle
Expand Up @@ -24,9 +24,13 @@ android {

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
minifyEnabled true
signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-header-release.pro', 'proguard-main.pro'
}
debug {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-header-debug.pro', 'proguard-main.pro'
}
}
compileOptions {
Expand Down
2 changes: 2 additions & 0 deletions app/proguard-header-debug.pro
@@ -0,0 +1,2 @@
-dontoptimize
-dontobfuscate
2 changes: 2 additions & 0 deletions app/proguard-header-release.pro
@@ -0,0 +1,2 @@
-optimizationpasses 5
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
File renamed without changes.

0 comments on commit 9d2241a

Please sign in to comment.