Gau-Yi / google-api-java-client

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

Stop publishing jars for each Java package and instead recommend ProGuard #97

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?

http://proguard.sourceforge.net/

Java environments (e.g. Java 6, Android 2.2, App Engine 1.3.7, or All)?

In theory all, but primarily focused on Android.

Please describe the feature requested.

For Android and other Java environments with low application space we recommend 
using the "package jars" as described here:

http://code.google.com/p/google-api-java-client/wiki/Setup#Download_by_Package_J
ars

The purpose was for a developer to be able to specify only the Java packages 
they actually need to reduce application size.  However, ProGuard has the 
ability to significantly reduce the application size to a much greater degree, 
and therefore should be strongly encouraged for such Java environments.  But 
once we use ProGuard there's really no significant advantage to specifying only 
the Java packages needed, since ProGuard is smart enough to remove unused code.

So if we are able to verify the claim that ProGuard works effectively with this 
library, we should no longer package up jars for each Java package.  This will 
have a significant reduction in the complexity of our packaging process.

Original issue reported on code.google.com by yan...@google.com on 7 Jan 2011 at 3:49

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 8 Jan 2011 at 6:19

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 26 Jan 2011 at 3:07

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 27 Jan 2011 at 8:33