api / org.gradle.api / Project / getVersion

getVersion

abstract fun getVersion(): Any

Returns the version of this project. Gradle always uses the toString() value of the version. The version defaults to {@value #DEFAULT_VERSION}.

Return
The version of this project. Never returns null.