Reputation: 13404
Is their some build syntax or something in the Gradle API that I can use to check the Gradle version number?
Upvotes: 5
Views: 3630
Reputation: 123890
gradle.gradleVersion will return the version number, as a String.
gradle.gradleVersion
Upvotes: 10