Using the Gradle wrapper means that the initiator doesnt need Gradle installed locally and also ensures that the correct version of Gradle is always used.
To setup a project with the wrapper
> gradle wrapper
All projects have this target (but dont run in child projects)
To use the wrapper
> gradlew
This will then install Gradle locally, for example in USER_DIR/.gradle/wrapper
Source control
It is recommended you
should put the generated files into source control.
- gradlew
- gradlew.bat
- gradle
Proxy
> gradlew -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=3128 -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=3128
Seemed to use https by default
This is a comment,
ReplyDelete