Install Gradle On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS
Maintainer: Debian Java Maintainers
Email: [email protected] .
Website: https://gradle.org
Section: java
Install gradle
-
Debian
apt-get install gradleClick to copy -
Ubuntu
apt-get install gradleClick to copy -
Alpine OS
apk add gradleClick to copy -
Arch Linux
pacman -S gradleClick to copy -
Kali Linux
apt-get install gradleClick to copy -
Fedora
dnf install gradleClick to copy -
Raspbian
apt-get install gradleClick to copy -
macOS
brew install gradleClick to copy
Gradle is an advanced open source build automation system.
How to use gradle?
Below are few example commands for gradle that you can use in the terminal.
Compile a package:gradle buildClick to copyExclude test task:gradle build -x testClick to copyRun in offline mode to prevent gradle from accessing the network during builds:gradle build --offlineClick to copyClear the build folder:gradle cleanClick to copyCompile and Release package:gradle assembleReleaseClick to copy
Install the latest version of gradle in Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian and macOS from terminal. To install the gradle just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of gradle from the respository and install it in your computer/server.




