fer626 / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

update proguard documentation #424

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Referenced documentation:
http://code.google.com/p/google-api-java-client/wiki/Setup#ProGuard

Please describe in detail the wiki documentation request:
Please update the last part below "And these lines to the proguard.cfg file". 
The tasks and calendar api samples for android are updated.

# Needed by google-http-client to keep generic types and @Key annotations 
accessed via reflection

-keepclassmembers class * {
  @com.google.api.client.util.Key <fields>;
}

# Needed just to be safe in terms of keeping Google API service model classes 

-keep class com.google.api.services.*.model.*

-keepattributes Signature,RuntimeVisibleAnnotations,AnnotationDefault

# Needed by Guava

-dontwarn sun.misc.Unsafe

# See https://groups.google.com/forum/#!topic/guava-discuss/YCZzeCiIVoI
-dontwarn com.google.common.collect.MinMaxPriorityQueue

Original issue reported on code.google.com by gabriel....@gmail.com on 16 Mar 2012 at 12:47

GoogleCodeExporter commented 9 years ago
Hi Yaniv, could you please take a look at this request.

Original comment by rmis...@google.com on 19 Mar 2012 at 2:56

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 14 Jul 2012 at 11:27

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 14 Jul 2012 at 11:57

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 26 Sep 2012 at 12:32

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Yes it does (although I can't open your link). The lines in my post from March 
were used at the android samples at that time. Those samples now use 
proguard-google-api-client.txt, so this issue can be closed. You only need to 
replace the current with your internal documentation.

Original comment by gabriel....@gmail.com on 26 Sep 2012 at 1:47

GoogleCodeExporter commented 9 years ago
That's in the works. Thanks.

Original comment by rianmur...@google.com on 26 Sep 2012 at 7:33

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 1 Nov 2012 at 9:34