Making rebuild.sh use Gradle Wrapper instead of locally installed version