Package com.android.build.gradle.api
Interface VersionedVariant
-
- All Known Subinterfaces:
AndroidArtifactVariant,ApkVariant,ApplicationVariant,FeatureVariant,TestVariant
@Deprecated public interface VersionedVariantDeprecated.A Build variant that supports versioning.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intgetVersionCode()Deprecated.Returns the variant versionCode.java.lang.StringgetVersionName()Deprecated.Return the variant versionName or null if none found.
-
-
-
Method Detail
-
getVersionCode
int getVersionCode()
Deprecated.Returns the variant versionCode. If the value is not found, then 1 is returned as this is the implicit value that the platform would use. If not output define its own variant override then this is used for all outputs.
-
getVersionName
@Nullable java.lang.String getVersionName()
Deprecated.Return the variant versionName or null if none found.
-
-