Package com.android.build.gradle.api
Interface InstallableVariant
-
- All Known Subinterfaces:
ApkVariant,ApplicationVariant,FeatureVariant,TestVariant
@Deprecated public interface InstallableVariantDeprecated.A Build variant that supports installation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description org.gradle.api.DefaultTaskgetInstall()Deprecated.org.gradle.api.tasks.TaskProvider<org.gradle.api.Task>getInstallProvider()Deprecated.Returns theTaskProviderfor the install task for the variant.org.gradle.api.DefaultTaskgetUninstall()Deprecated.org.gradle.api.tasks.TaskProvider<org.gradle.api.Task>getUninstallProvider()Deprecated.Returns theTaskProviderfor the uninstallation task.
-
-
-
Method Detail
-
getInstall
@Nullable @Deprecated org.gradle.api.DefaultTask 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
@Nullable @Deprecated org.gradle.api.DefaultTask 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.
-
-