gradlew
script is the so-called gradle shell, a stand-alone script that allows people to run gradle tasks withoiut gradle. Hovewer does not exist to exist for gradle tasks, it is absolutely optional.
You can create a Wrapper in your project by completing the task
gradle wrapper
Subsequently, you can use the ./gradlew
script instead of gradle
from PATH
To indicate the use of the gradle version, gradle is the command line version. Just run the command:
gradle wrapper
If something else is unclear, you can find the answers here https://docs.gradle.org/current/userguide/gradle_wrapper.html
source share