Tuesday, 10 September 2013

Reuse dexed jar files as dependencies in other Android projects

Reuse dexed jar files as dependencies in other Android projects

First off, I apologize for throwing this out without any code, because I
can't share any. I'm hoping for some information and/or examples that can
point me in the right direction. We have an Ant script that builds our
many Android apps that make up our system. Some of them are common
dependencies for several other apps. However, when we build ,for each app
our scripts apparently recompiles, jar's and dex's all of our dependent
libraries every time, for every single project. Isn't there a way to just
compile, jar and dex dependencies once, and then just "include" them when
the other projects that rely on them are jar'd and dexed?

No comments:

Post a Comment