Package com.android.build.gradle.api
Interface AndroidArtifactVariant
-
- All Superinterfaces:
VersionedVariant
- All Known Subinterfaces:
ApkVariant,ApplicationVariant,FeatureVariant,TestVariant
@Deprecated public interface AndroidArtifactVariant extends VersionedVariant
Deprecated.A Build variant for a generic android artifact.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.Set<java.lang.String>getCompatibleScreens()Deprecated.Returns the compatible screens for the variant.com.android.builder.model.SigningConfiggetSigningConfig()Deprecated.Returns theSigningConfigfor this build variant, if one has been specified.booleanisSigningReady()Deprecated.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 Detail
-
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
@NonNull java.util.Set<java.lang.String> getCompatibleScreens()
Deprecated.Returns the compatible screens for the variant.
-
-