Created
March 29, 2015 06:34
-
-
Save JakeWharton/64de0e5600fa92d05fa4 to your computer and use it in GitHub Desktop.
A Gradle task for installing all application variants at once. Placed in the public domain.
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
def installAll = tasks.create('installAll') | |
installAll.description = 'Install all applications.' | |
android.applicationVariants.all { variant -> | |
installAll.dependsOn(variant.install) | |
// Ensure we end up in the same group as the other install tasks. | |
installAll.group = variant.install.group | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment