Determine latest Gradle version programmatically


(Stefan Neuhaus) #1

The intent is to test (and regression test) a plugin in order to safeguard from incompatibilities with new Gradle releases. Though you can easily specify the “gradleVersion” with nebula-test, you still have to somehow determine these version numbers.


(James Justinic) #4

There’s a REST service that provides Gradle version information.

In addition to parsing a list of every release, you can directly get the latest release, nightly, and release candidate.

Start from at https://services.gradle.org/versions/ and navigate to the data that you want.


(Stefan Neuhaus) #5

Perfect! That is exactly what I was looking for. Thank you for your help!