VersionNumber

Deprecated

This class is only here to maintain binary compatibility with existing plugins.

Deprecated

Will be removed in Gradle 9.0.

Constructors

Link copied to clipboard
constructor(major: Int, minor: Int, micro: Int, @Nullable qualifier: String)
constructor(major: Int, minor: Int, micro: Int, patch: Int, @Nullable qualifier: String)

Types

Link copied to clipboard
interface Scheme
Returns the version number scheme.

Properties

Link copied to clipboard
val major: Int
Link copied to clipboard
val micro: Int
Link copied to clipboard
val minor: Int
Link copied to clipboard
val patch: Int
Link copied to clipboard
@get:Nullable
val qualifier: String
Link copied to clipboard

Functions

Link copied to clipboard
open fun compareTo(other: VersionNumber): Int
Link copied to clipboard
open fun equals(@Nullable other: Any): Boolean
Link copied to clipboard
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun parse(versionString: String): VersionNumber
Link copied to clipboard
Returns the default MAJOR.MINOR.MICRO-QUALIFIER scheme.
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun version(major: Int): VersionNumber
open fun version(major: Int, minor: Int): VersionNumber
Link copied to clipboard
Returns the MAJOR.MINOR.MICRO.PATCH-QUALIFIER scheme.