Package com.android.build.gradle.api
Interface ApkVariant
-
- All Superinterfaces:
AndroidArtifactVariant,BaseVariant,InstallableVariant,com.android.build.gradle.internal.core.InternalBaseVariant,VersionedVariant
- All Known Subinterfaces:
ApplicationVariant,FeatureVariant,TestVariant
@Deprecated public interface ApkVariant extends BaseVariant, InstallableVariant, AndroidArtifactVariant, com.android.build.gradle.internal.core.InternalBaseVariant
Deprecated.A Build variant and all its public data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.ObjectgetDex()Deprecated.With the new transform mechanism, there is no direct access to the task anymore.PackageAndroidArtifactgetPackageApplication()Deprecated.org.gradle.api.tasks.TaskProvider<PackageAndroidArtifact>getPackageApplicationProvider()Deprecated.Returns the packaging task-
Methods inherited from interface com.android.build.gradle.api.AndroidArtifactVariant
getCompatibleScreens, getSigningConfig, isSigningReady
-
Methods inherited from interface com.android.build.gradle.api.BaseVariant
addJavaSourceFoldersToModel, addJavaSourceFoldersToModel, buildConfigField, getAidlCompile, getAidlCompileProvider, getAllRawAndroidResources, getAnnotationProcessorConfiguration, getApplicationId, getApplicationIdTextResource, getAssemble, getAssembleProvider, getBaseName, getBuildType, getCheckManifest, getCheckManifestProvider, getCompileClasspath, getCompileClasspathArtifacts, getCompileConfiguration, getDescription, getDirName, getExternalNativeBuildProviders, getExternalNativeBuildTasks, getFlavorName, getGenerateBuildConfig, getGenerateBuildConfigProvider, getJavaCompile, getJavaCompileOptions, getJavaCompileProvider, getJavaCompiler, getMappingFile, getMappingFileProvider, getMergeAssets, getMergeAssetsProvider, getMergeResources, getMergeResourcesProvider, getName, getObfuscation, getOutputs, getOutputsAreSigned, getPreBuild, getPreBuildProvider, getProcessJavaResources, getProcessJavaResourcesProvider, getProductFlavors, getRenderscriptCompile, getRenderscriptCompileProvider, getRuntimeConfiguration, getSourceFolders, getSourceSets, missingDimensionStrategy, missingDimensionStrategy, missingDimensionStrategy, register, registerExternalAptJavaOutput, registerGeneratedBytecode, registerGeneratedResFolders, registerJavaGeneratingTask, registerJavaGeneratingTask, registerJavaGeneratingTask, registerJavaGeneratingTask, registerPostJavacGeneratedBytecode, registerPreJavacGeneratedBytecode, registerResGeneratingTask, registerResGeneratingTask, resValue, setOutputsAreSigned
-
Methods inherited from interface com.android.build.gradle.api.InstallableVariant
getInstall, getInstallProvider, getUninstall, getUninstallProvider
-
Methods inherited from interface com.android.build.gradle.internal.core.InternalBaseVariant
getMergedFlavor
-
Methods inherited from interface com.android.build.gradle.api.VersionedVariant
getVersionCode, getVersionName
-
-
-
-
Method Detail
-
getDex
@Deprecated @Nullable java.lang.Object getDex()
Deprecated.With the new transform mechanism, there is no direct access to the task anymore.Returns the Dex task. This method will actually throw an exception with a clear message.
-
getPackageApplication
@Nullable @Deprecated PackageAndroidArtifact getPackageApplication()
Deprecated.Returns the packaging tas
-
getPackageApplicationProvider
@Nullable org.gradle.api.tasks.TaskProvider<PackageAndroidArtifact> getPackageApplicationProvider()
Deprecated.Returns the packaging taskPrefer this to
getPackageApplication()as it triggers eager configuration of the task.
-
-