GradleVersion

abstract class GradleVersion : Comparable<T> (source)

Represents a Gradle version.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun compareTo(o: GradleVersion): Int
Link copied to clipboard
Returns the current Gradle version.
Link copied to clipboard
The base version of this version.
Link copied to clipboard
abstract fun getMajorVersion(): Int
Returns the major version of this Gradle version.
Link copied to clipboard
abstract fun getVersion(): String
Returns the string that represents this version.
Link copied to clipboard
abstract fun isFinal(): Boolean
Returns true if this version is a final release.
Link copied to clipboard
abstract fun isSnapshot(): Boolean
Returns true if this instance represent a snapshot version (e.g.
Link copied to clipboard
open fun version(version: String): GradleVersion
Parses the given string into a GradleVersion.