



We can find a gradlew file for UNIX based systems and gradlew.bat for Windows systems. We can create the wrapper script according to our needs.īelow figure demonstrate the workflow of Gradle: So the wrapper is the preferred way for starting a Gradle build. Gradle executes the build process that is independent of the installed version. The Gradle wrapper overcomes all these problems and preferred by all the developers to start a Gradle build. It is also important to check that if the user has installed the right version or not. Installation of any tool on a computer becomes an unnecessary burden for the users. Most of the software requires installation on a computer before use. When we invoke the Gradle with the wrapper, it automatically downloads and builds the specified version. This wrapper can be considered as a batch script on Windows and shell script for other OS. The Gradle wrapper allows us to run a build with a specified version and settings without the Gradle installation.
