Looks like a bug.

https://code.google.com/p/android/issues/detail?id=69737


On Wed, May 14, 2014 at 5:57 PM, Benjamin Cooley <[email protected]>wrote:

> I think I hit a bug
>
> I have the following situation:
>
> lib1 Flavored Library
>  dependencies {
>   provided(group: 'someGroup', name: 'remoteArtifact', version: '1.0')
>   provided files("path/to/localArtifact")
>  }
>
> lib2 F
>  dependencies {
>   compile project(path: "lib1", configuration: flavorARelease)
>  }
>
> apk
> dependencies {
>   compile project(path: "lib2", configuration: flavorARelease)
>  }
>
> remoteArtifact is not included in the final apk,but local artifact is.
>
> I do not know if the fact I have flavored my libraries or that it is a
> two-level dependency is relevant. I suspect it is just any local
> artifact....
>
> Easiest way to see if a dependency is being included is to look at the
> build/pre-dexed/flavor/type folder
>
> - Ben
>
> --
> 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.
>



-- 
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/d/optout.

Reply via email to