gradle

An open source build automation system. More information: <https://gradle.org>.

Install

All systems
curl cmd.cat/gradle.sh
Debian Debian
apt-get install gradle
Ubuntu
apt-get install gradle
Alpine
apk add gradle
Arch Arch Linux
pacman -S gradle
image/svg+xml Kali Linux
apt-get install gradle
Fedora
dnf install gradle
Windows (WSL2)
sudo apt-get update sudo apt-get install gradle
OS X
brew install gradle
Raspbian
apt-get install gradle
Docker
docker run cmd.cat/gradle gradle powered by Commando

An open source build automation system. More information: <https://gradle.org>.

  • Compile a package:
    gradle build
  • Exclude test task:
    gradle build -x test
  • Run in offline mode to prevent Gradle from accessing the network during builds:
    gradle build --offline
  • Clear the build directory:
    gradle clean
  • Build an Android Package (APK) in release mode:
    gradle assembleRelease
  • List the main tasks:
    gradle tasks
  • List all the tasks:
    gradle tasks --all

© tl;dr; authors and contributors