Package dev.jaims.hololib.core.version

Types

BukkitVersion
Link copied to clipboard
data class BukkitVersion(version: String) : Comparable<BukkitVersion>

Functions

major
Link copied to clipboard
fun BukkitVersion.major(): Int
minor
Link copied to clipboard
fun BukkitVersion.minor(): Int
patch
Link copied to clipboard
fun BukkitVersion.patch(): Int?
trimmedVersion
Link copied to clipboard
fun String.trimmedVersion(): String

Properties

REVISION_SNAPSHOT_REGEX
Link copied to clipboard
val REVISION_SNAPSHOT_REGEX: Regex
VERSION_REGEX
Link copied to clipboard
val VERSION_REGEX: Regex