Something like (valid fo 2.2.0-RC1+)
project.android.applicationVariants.each { variant ->
variant.getVariantData().variantDependency.packageDependencies.
androidDependencies - set of item where every item has jarFile
variant.getVariantData().variantDependency.packageDependencies.
jarDependencies - set of item where every item has jarFile
}
And every dependency can have transitive dependencies
But I believe that here will be also more easy way, already flattened
classpath lists
Dne čtvrtek 1. září 2016 22:20:19 UTC+2 vogella napsal(a):
>
> Hi,
>
> in my Gradle build script I would like to retrieve the classpath entries
> of the different flavors in my application. I'm mostly interested in the
> "main" flavor. I looked at
> http://google.github.io/android-gradle-dsl/current/ but was not
> successful to get this information in my Gradle build script.
>
> Could you advice?
>
> With this infomation, I hope I can use the latest and greatest Eclipse
> Buildship release (
> https://discuss.gradle.org/t/buildship-1-0-18-is-now-available/19012) to
> configure the classpath in Eclipse via the "Eclipse" task. This would be
> helpful to me and my customers as we could switch between Android Studio
> and Eclipse for development without any big effort.
>
> Best regards, Lars
>
>
>
>
--
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.