Skip to content

Instantly share code, notes, and snippets.

@dudego
Created March 11, 2021 16:10
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 dudego/1f8a69f01e24f9c911655ca5ce503cb7 to your computer and use it in GitHub Desktop.
Save dudego/1f8a69f01e24f9c911655ca5ce503cb7 to your computer and use it in GitHub Desktop.
afterEvaluate {
android.productFlavors.all {
flavor ->
tasks."generate${flavor.name.capitalize()}DebugResources".dependsOn "encrypt${flavor.name.capitalize()}DebugConfig"
tasks."generate${flavor.name.capitalize()}ReleaseResources".dependsOn "encrypt${flavor.name.capitalize()}ReleaseConfig"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment