the gradle wrapper is great, except for one thing. If you are in a subdirectory of the project you need to do something like “…/…/gradlew” to run it.
I have the root of the project in my path to avoid this. But we have many projects and they might not be on the same gradle version, so this could be a problem.
So I think this is a unix question actually. Is there a way to make the shell know what directory structure you are in and add the correct gradlew to your path? My guess is the only solution is to write a .rc file and it will change when you “cd” into the root of the project. (I’ve never done this, just guessing). I have no idea how one would do this if you “cd root/subproject/subproject” thought…