$ curl -s get.sdkman.io | bash
After that you can init sdkman by running:
$ source "$HOME/.sdkman/bin/sdkman-init.sh"
With sdkman installed, installing Gradle is as easier as running:
$ sdk install gradle
Now you can start creating the build script. The first thing to do is creating a settings.gradle where in this case we are going to set the name of the project.
This file is also used in case of multiple module projects.
Last file you might need is one called build.gradle which manages all the build process.
Sun's in your eyes the heat is in your hair. They seem to hate you. Because you're there. (Wonderful Life - Black)