Ok so I've had a chance to slow down since I was bouncing all over the place...
The aar obviously has a classes.jar, not a classes.dex. What needs changed is the non-exposed Jar task that assemble depends on. What I'm doing doesn't really require longevity so I'll just find it by task name and make the necessary adjustments for now. I haven't figured out if there's value in something like this for the long term. --- Jake Wharton http://about.me/jakewharton On Thu, Jan 30, 2014 at 7:25 PM, Jake Wharton <[email protected]> wrote: > Basically the equivalent of a provided dependency but with classes in the > module. > > I initially tried: > > android.libraryVariants.all { variant -> > variant.assemble.excludes << '**/gtfo/*' > } > > But immediately realized it's being embedded in the dex so this has no > effect. > > dx itself doesn't seem to have any way to filter but the invocation of it > (in AndroidBuilder.convertByteCode) expands the input dir into a list of > absolute file paths. > > Would you be open to adding an excludes list of globs on the Dex task? > -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
