Skip to content

Commit

Permalink
fixed reflection in proguard, upgraded build tools
Browse files Browse the repository at this point in the history
  • Loading branch information
zserge committed May 7, 2016
1 parent dd28fba commit dde3543
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0'
classpath 'com.android.tools.build:gradle:2.1.0'
classpath 'me.tatarka:gradle-retrolambda:3.2.5'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.6'
}
Expand All @@ -19,8 +19,8 @@ android {
defaultConfig {
minSdkVersion 15
targetSdkVersion 23
versionCode 12
versionName '3.2'
versionCode 14
versionName '3.4'
}

signingConfigs {
Expand Down
5 changes: 5 additions & 0 deletions proguard.pro
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
-keep class com.google.gson.stream.** { *; }
-keep class com.google.gson.examples.android.model.** { *; }

-keep public class * extends android.view.View
-keepclassmembers class * extends android.view.View {
public <init>(android.content.Context);
}

-dontwarn com.fasterxml.jackson.**
-dontwarn sun.reflect.*
-dontwarn javax.annotation.**
Expand Down

0 comments on commit dde3543

Please sign in to comment.