setVersion
fun setVersion(major: <Error class: unknown class>, minor: <Error class: unknown class>, micro: <Error class: unknown class>)
Set the application version.
If the application doesn't use the format major.minor.micro you can pass 0 as the micro to use major.minor, or pass 0 as both micro and minor to use only major number. Any other format must be converted to major.minor.micro so that it can be used in version comparisons.
Since
2.18
Parameters
major
the major version number
minor
the minor version number
micro
the micro version number