Skip to content

Commit

Permalink
added butterknife dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
erasmospunk committed Feb 18, 2016
1 parent 621f364 commit 04ebe4f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.android.tools.build:gradle:1.5.0'
// classpath 'org.robolectric:robolectric-gradle-plugin:0.11.+'

// NOTE: Do not place your application dependencies here; they belong
Expand Down
2 changes: 2 additions & 0 deletions wallet/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ dependencies {
compile 'com.google.zxing:core:3.1.0'
compile 'ch.acra:acra:4.5.0'
compile 'com.android.support:support-v4-preferencefragment:1.0.0@aar'
compile 'com.jakewharton:butterknife:7.0.1'

// compile 'com.github.castorflex.smoothprogressbar:library:1.1.0'
}

Expand Down
15 changes: 14 additions & 1 deletion wallet/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,17 @@
-dontwarn java.nio.file.OpenOption
-dontwarn sun.nio.ch.DirectBuffer
-dontwarn net.jcip.annotations.GuardedBy
-dontwarn com.subgraph.orchid.**
-dontwarn com.subgraph.orchid.**

# Butterknife
-keep class butterknife.** { *; }
-dontwarn butterknife.internal.**
-keep class **$$ViewBinder { *; }

-keepclasseswithmembernames class * {
@butterknife.* <fields>;
}

-keepclasseswithmembernames class * {
@butterknife.* <methods>;
}

0 comments on commit 04ebe4f

Please sign in to comment.