per-variant dependencies are not yet supported.
On Thu, Jun 26, 2014 at 3:09 AM, <[email protected]> wrote: > Hi, > > I have an application project that depends on a library project. Both > projects have two flavors defined. > In the build.gradle file of my application project I have the following > dependencies: > > dependencies { > flavor1ReleaseCompile project(path: ':lib1', configuration: > 'flavor1Release') > flavor1DebugCompile project(path: ':lib1', configuration: > 'flavor1Debug') > flavor2ReleaseCompile project(path: ':lib1', configuration: > 'flavor2Release') > flavor2DebugCompile project(path: ':lib1', configuration: > 'flavor2Debug') > } > > Is this supposed to work? I get: > Could not find method flavor1ReleaseCompile() for arguments > [DefaultProjectDependency{dependencyProject='project ':lib1'', > configuration='flavor1Release'}] on root project 'XYZ'. > > Is there another way of accomplishing what I want? > > Thank you! > > -- > 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.
