Version

constructor(vararg version: Int)

Creates a new release version with the given version number and no metadata.


constructor(version: String)

Creates a new version by parsing the given version string.

Throws

If the version string is invalid.