Package com.android.build.gradle.api
Interface AndroidArtifactVariant
- All Superinterfaces:
VersionedVariant
- All Known Subinterfaces:
ApkVariant,ApplicationVariant,FeatureVariant,TestVariant
Deprecated.
A Build variant for a generic android artifact.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the compatible screens for the variant.com.android.builder.model.SigningConfigDeprecated.Returns theSigningConfigfor this build variant, if one has been specified.booleanDeprecated.Returns true if this variant has the information it needs to create a signed APK.Methods inherited from interface com.android.build.gradle.api.VersionedVariant
getVersionCode, getVersionName
-
Method Details
-
getSigningConfig
@Nullable com.android.builder.model.SigningConfig getSigningConfig()Deprecated.Returns theSigningConfigfor this build variant, if one has been specified. This is only returned for the base application module. -
isSigningReady
boolean isSigningReady()Deprecated.Returns true if this variant has the information it needs to create a signed APK. This can only be true for the base application module. -
getCompatibleScreens
Deprecated.Returns the compatible screens for the variant.
-