Right, I'm interested in having that list, which does not belong in an AAR's classes.jar, publicly available (for all to use if needed) and maintained by one. Proguard code uses that same list when creating their protected classes.jar (and so will many others who have custom plugins that want to manipulate class files). Right now, everyone will be duplicating code, and probably checking back with Google in order to get that list anyway, might as well make it a simple API call right?
On Thu, Feb 27, 2014 at 8:14 AM, Xavier Ducrohet <[email protected]> wrote: > Those classes are already excluded. > > > On Wed, Feb 26, 2014 at 11:21 PM, Tony Ngo <[email protected]> wrote: > >> Thank you for your quick reply. Just want to make sure we're talking >> about the same thing. The specific set of excludes I'm talking about are: >> R.class, R$*, Manifest, and BuildConfig.class being excluded from >> classes.jar (since it does not belong in an AAR). >> >> >> On Wednesday, February 26, 2014 6:26:38 PM UTC-8, Xavier Ducrohet wrote: >> >>> There's a new "provided" dependency scope. It might do what you want. Or >>> it might not, I've done some work in the area recently and fixed some >>> issues. The next plugin should do what you need. >>> >>> >>> On Wed, Feb 26, 2014 at 6:15 PM, Tony Ngo <[email protected]> wrote: >>> >>>> Would it be possible to provide an API that returns a list of >>>> excludes that do not belong inside classes.jar when it needs to be bundled >>>> into an AAR? I'm taking the list from your source now >>>> (LibraryPlugin.groovy:) from packageJar task, but having something that is >>>> maintained by you makes more sense. >>>> >>>> -- >>>> 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. >>>> >>> >>> >>> >>> -- >>> Xavier Ducrohet >>> Android SDK Tech Lead >>> Google Inc. >>> http://developer.android.com | http://tools.android.com >>> >>> Please do not send me questions directly. Thanks! >>> >> -- >> 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. >> > > > > -- > Xavier Ducrohet > Android SDK Tech Lead > Google Inc. > http://developer.android.com | http://tools.android.com > > Please do not send me questions directly. Thanks! > > -- > 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/Qu6xywdSO_k/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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.
