Hello,

I have a multi-project setup with the following structure:

+
|-app
|-lib1
|-lib2

And for the app I have two flavors:

android {
...
  productFlavors {
    vanilla
    chocolate
  }
}

dependencies {
  compile 'com.android.support:support-v4:20.+'
  vanillaCompile project(':lib1')
  chocolateCompile project(':lib2')
}

what I am finding when running assembleVanillaDebug, assembleChocolateDebug 
is that these tasks both depend on bundling both libraries:


app $ ../gradlew tasks

assembleVanillaDebug - Assembles the Debug build for flavor Vanilla 
[:lib1:bundleRelease, :lib2:bundleRelease]

Does anyone know why this is the case? This means that if lib2 is broken I 
can't build an APK that doesn't depend on lib2.

Thanks,

Joe Blubaugh

-- 
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