cesards
3/30/2015 - 8:12 AM

Task to install all variants on the mobile phone

Task to install all variants on the mobile phone

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
}