Package com.android.build.gradle.api
Interface InstallableVariant
- All Known Subinterfaces:
ApkVariant,ApplicationVariant,FeatureVariant,TestVariant
Deprecated.
A Build variant that supports installation.
-
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.DefaultTaskDeprecated.org.gradle.api.tasks.TaskProvider<org.gradle.api.Task>Deprecated.Returns theTaskProviderfor the install task for the variant.org.gradle.api.DefaultTaskDeprecated.org.gradle.api.tasks.TaskProvider<org.gradle.api.Task>Deprecated.Returns theTaskProviderfor the uninstallation task.
-
Method Details
-
getInstall
Deprecated.Returns the install task for the variant. -
getInstallProvider
@Nullable org.gradle.api.tasks.TaskProvider<org.gradle.api.Task> getInstallProvider()Deprecated.Returns theTaskProviderfor the install task for the variant.Prefer this to
getInstall()as it triggers eager configuration of the task. -
getUninstall
Deprecated.Returns the uninstallation task.For non-library project this is always true even if the APK is not created because signing isn't setup.
-
getUninstallProvider
@Nullable org.gradle.api.tasks.TaskProvider<org.gradle.api.Task> getUninstallProvider()Deprecated.Returns theTaskProviderfor the uninstallation task.For non-library project this is always true even if the APK is not created because signing isn't setup.
Prefer this to
getUninstall()as it triggers eager configuration of the task.
-
getInstallProvider()