System Grab Bag

View all TLDR pages from common (or from all pages)

gradle

Gradle is 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

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.