Skip to content

Instantly share code, notes, and snippets.

@nekocode
Last active September 26, 2018 05:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nekocode/de44118e9c046c6e378bd32c25509358 to your computer and use it in GitHub Desktop.
Save nekocode/de44118e9c046c6e378bd32c25509358 to your computer and use it in GitHub Desktop.
project.afterEvaluate {
android.productFlavors.all { flavor ->
dependencies {
if (flavor.applicationIdSuffix) {
it."${flavor.name}Implementation" "cn.nekocode.lib:keys-alpha:${versions.keys}"
} else {
it."${flavor.name}Implementation" "cn.nekocode.lib:keys:${versions.keys}"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment