version

open fun version(version: String): GradleVersion(source)

Parses the given string into a GradleVersion.

Throws

On unrecognized version string.