Skip to content

Commit

Permalink
Fix proguard. Added three donotwarn for things we don't use at all in…
Browse files Browse the repository at this point in the history
… this testing app.
  • Loading branch information
zsurocking committed Apr 8, 2016
1 parent 90db93b commit b053d89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions android-interop-testing/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,12 @@ protobuf {
}
}


dependencies {
compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.google.android.gms:play-services-base:7.3.0'
compile 'com.google.code.findbugs:jsr305:3.0.0'
compile 'com.google.guava:guava:18.0'
compile 'com.squareup.okhttp:okhttp:2.2.0'
testCompile 'junit:junit:4.12'
// You need to build grpc-java to obtain these libraries below.
compile 'io.grpc:grpc-protobuf-nano:0.14.0-SNAPSHOT' // CURRENT_GRPC_VERSION
compile 'io.grpc:grpc-okhttp:0.14.0-SNAPSHOT' // CURRENT_GRPC_VERSION
Expand Down
3 changes: 3 additions & 0 deletions android-interop-testing/app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

-dontwarn com.google.common.**
-dontwarn okio.**
-dontwarn org.mockito.**
-dontwarn sun.reflect.**
-dontwarn android.test.**

# Need to create channel through service provider.
-keepnames class io.grpc.ManagedChannelProvider
Expand Down

0 comments on commit b053d89

Please sign in to comment.