AndroidPluginVersion
@Incubating class AndroidPluginVersion : Comparable<AndroidPluginVersion>
kotlin.Any | |
↳ | com.android.build.api.AndroidPluginVersion |
Represents a version of the Android Gradle Plugin
Designed for plugin authors to compare the currently running plugin version
Summary
Public constructors |
|
---|---|
Public methods |
|
---|---|
AndroidPluginVersion | |
AndroidPluginVersion | |
Int |
compareTo(other: AndroidPluginVersion) |
AndroidPluginVersion |
dev() |
Boolean | |
Int |
hashCode() |
AndroidPluginVersion | |
String |
toString() |
Properties |
|
---|---|
Int | |
Int | |
Int | |
Int | |
String? |
Public constructors
Public methods
alpha
fun alpha(alpha: Int): AndroidPluginVersion
beta
fun beta(beta: Int): AndroidPluginVersion
compareTo
fun compareTo(other: AndroidPluginVersion): Int
dev
fun dev(): AndroidPluginVersion
hashCode
fun hashCode(): Int
rc
fun rc(rc: Int): AndroidPluginVersion
toString
fun toString(): String
Properties
major
val major: Int
micro
val micro: Int
minor
val minor: Int
preview
val preview: Int
previewType
val previewType: String?