Package com.android.build.gradle.api
Interface VersionedVariant
- All Known Subinterfaces:
AndroidArtifactVariant,ApkVariant,ApplicationVariant,FeatureVariant,TestVariant
Deprecated.
A Build variant that supports versioning.
-
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Returns the variant versionCode.Deprecated.Return the variant versionName or null if none found.
-
Method Details
-
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
Deprecated.Return the variant versionName or null if none found.
-