proguard to filter part of specific package?

40 views
Skip to first unread message

Anders Aagaard

unread,
Sep 26, 2014, 3:54:48 AM9/26/14
to adt...@googlegroups.com
Hi

Running proguard on every build (due to max method count) is a bit slow. Is there any way we can speed it up by for example saying "we dont use analytics, we can filter out package com.google.analytics." and just delete that without scanning dependencies/usages?

Right now we use 30 seconds to build on our work laptops, 10 of that is proguard. I figure with an approach like this the proguard part of it wouldn't take any time at all.

Best regards
Anders

Xavier Ducrohet

unread,
Sep 26, 2014, 12:11:51 PM9/26/14
to adt...@googlegroups.com
This is not possibly at the moment.

--
You received this message because you are subscribed to the Google Groups "adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adt-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

Tomáš Procházka

unread,
Oct 7, 2014, 4:02:40 AM10/7/14
to adt...@googlegroups.com
And what about something like this
But I hope, that Google Play Services will be separated to multiple libraries directly by Google.


Dne pátek, 26. září 2014 9:54:48 UTC+2 Anders Aagaard napsal(a):

Anders Aagaard

unread,
Oct 8, 2014, 6:17:05 AM10/8/14
to adt...@googlegroups.com
We're doing this : https://gist.github.com/andaag/80892292638e02159fb1 - same thing but built on the aar's. Then we publish that to our internal maven repo and use it through gradle.

Note that if you use the gradle approach it'll pickup the artifact as changed every time, and redex it on every build. Considerably slowing down the build times :/

--
You received this message because you are subscribed to a topic in the Google Groups "adt-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adt-dev/T3mO0xGB50k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adt-dev+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Mvh
Anders Aagaard
Reply all
Reply to author
Forward
0 new messages