Different Flavors Use Different Repositories
Is there a way to have each of the flavors of the app use different repositories? i.e. repositories { maven { url 'amazon repo'} maven { url 'google repo'} } productFlav
Solution 1:
found that you can add repositories inside the flavors.
productFlavors {
google {
repositories {
maven { url 'google repo'}
}
}
amazon {
repositories {
maven { url 'amazon repo'}
}
}
}
Post a Comment for "Different Flavors Use Different Repositories"