At least. Do you have in plan add possibility to make jar only android library if project don't need any resources? Or exist some way how to do easy now? Is possible to use SDK lookup and local repository setup from existing android gradle plugin?
Dne úterý 21. července 2015 16:07:50 UTC+2 Tomáš Procházka napsal(a): > > I found the you disabled purpossely support for provided scope for AAR > dependencies > https://code.google.com/p/android/issues/detail?id=77162 > > But problem is that now every developer make library as AAR, because is > not different options. > It is not possible to do jar dependency in easy way with gradle. > Unless android.jar is not in public repo you must use android build plugin > to handle this or manually add local SDK as repository. > So the are many AAR libraries which doesn't have at least one resources, > but the are AAR :-( > And they can be used as provided dependency. > Only benefit is that AAR can contain control file for Proguard, which will > be used in main project automatically. > > I use it in situation if I have several flavor of app and only some need > for example advertisement library. > > Is possible in any way bypass this restriction and use AAR as provided > dependency with some workaround? > > > -- 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/d/optout.
