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

    Modifier and Type
    Method
    Description
    Deprecated.
    Returns the compatible screens for the variant.
    com.android.builder.model.SigningConfig
    Deprecated.
    Returns the SigningConfig for this build variant, if one has been specified.
    boolean
    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 Details

    • getSigningConfig

      @Nullable com.android.builder.model.SigningConfig getSigningConfig()
      Deprecated.
      Returns the SigningConfig for 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 Set<String> getCompatibleScreens()
      Deprecated.
      Returns the compatible screens for the variant.