nextMajor

fun Version.nextMajor(): Version

Increments the version by its MAJOR number. Returns a new version while the original remains unchanged.

Sources

Link copied to clipboard