Last active
September 26, 2018 05:29
-
-
Save nekocode/de44118e9c046c6e378bd32c25509358 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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