Can we download only the Gradle wrapper from somewhere?
I’d like to provide a quick script for team developers to set up a new project repository directory – we often create a new project directory. The directory is expected to include a Gradle wrapper.
Unfortunately, to get the Gradle wrapper located in the directory, we need an executable Gradle already installed in the environment, IIUC. Then, the script:
downloads a full set of Gradle executable.
runs gradle wrapper to set up a Gradle wrapper in the new directory.
runs ./gradlew there to download another Gradle executable for the Gradle wrapper in the directory…
That is wasting! If we can get only a Gradle wrapper downloaded, just one download would be okay. Can we do such download?
We actually do that now, so it’s not a mandatory blocker. We wondered if we could do it without our own packages so that we can think less about licensing (it’d be published open), and less efforts to catch up with the latest versions.