How do you use the wrapper from a subproject?

Is there any way to use the wrapper from a subproject besides calling it with the relative path?

../gradlew build

I remember reading some discussion of the gradle command autodetecting the existence of the wrapper in a project and respecting it’s settings. Is that still on the plans?

Have a look at this script: https://github.com/cbeams/shell-scripts/blob/master/find-gradle

I expect that something like this will eventually ship with Gradle.

Interesting. Thanks for the link.