dependencies by flavor in android studio build.gradle file, is it possible?
问题 image in my build.gradle file i have the following dependencies: dependencies { compile 'com.android.support:support-v13:22.1.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.jakewharton:butterknife:6.0.0' } and imagine i have the following product flavors defined: productFlavors { germanyMock { applicationId "org.mymocksite.mock" } usaMock { applicationId "org.myqasite.qa" } } suppose i want to have a dependency by flavor only, then could i do this: dependencies { compile