Skip to content

Commit c61848c

Browse files
Library now working well with proguard
Change-Id: Ifead898e63fe6ed3235314aa71b580b11e893e05
1 parent 22c3206 commit c61848c

7 files changed

Lines changed: 15 additions & 1 deletion

File tree

AndroidSocket/proguard-project.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,16 @@
1818
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
1919
# public *;
2020
#}
21+
22+
# I use Google Guava in my app
23+
# see http://code.google.com/p/guava-libraries/wiki/UsingProGuardWithGuava
24+
-dontwarn sun.misc.Unsafe
25+
-dontwarn com.google.common.collect.MinMaxPriorityQueue
26+
-dontnote javax.annotation.*
27+
-dontnote javax.annotation.concurrent.*
28+
-dontnote javax.annotation.meta.*
29+
30+
# Additionally
31+
-dontnote com.google.common.util.concurrent.MoreExecutors
32+
-dontnote com.google.vending.licensing.ILicensingService
33+
-dontnote com.android.vending.licensing.ILicensingService

AndroidSocket/project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# project structure.
99
#
1010
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11-
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
11+
proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
1212

1313
# Project target.
1414
target=android-15
-1.8 MB
Binary file not shown.
2.06 MB
Binary file not shown.
2.44 KB
Binary file not shown.
31.1 KB
Binary file not shown.

AndroidSocketIO/proguard-project.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@
1818
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
1919
# public *;
2020
#}
21+

0 commit comments

Comments
 (0)