For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

toString

abstract fun toString(): String(source)

Return this version as a String, "14" for Java 14.

This method will return 1.<version> when the version is lower than 5.

Since

6.8

Return

the version number