Hi Phil,
you can check the gradle version version by calling gradle.gradleVersion
in your build script. But I would use the gradle-wrapper instead. Using
the gradle wrapper is a nice way to get your builds running on every
machine even without a installed version of gradle. With the wrapper you
have ONE place where you define the gradle version to use. Especially in
heterogeneous environments this is a good way to ensure that a build works
on every machine out of the box. Furthermore, updating to a new Gradle
version is very easy with the wrapper.

regards,
René

> Since gradle is moving so fast, we often run into issues where our
> builds work on the latest gradle, but not previous versions.  Is there
> a good/standard way to check for the gradle version via the build
> script so users can be notified that gradle needs to be installed?
>
> Thanks
> phil
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to