tldr-pages/tldr

Let's document: gradle

Open

#19101 opened on Oct 29, 2025

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Shell (30,937 stars) (2,507 forks)batch import
help wantedlet's documentnew command

Description

Command description

Gradle is a build tool for managing dependencies, plugins, and project automation. It includes many CLI commands with various flags and options. Documenting these commands will help new learners understand Gradle quickly and provide a single reference point for experienced users as a refresher.

Documentation

https://docs.gradle.org/current/userguide/command_line_interface.html

Platform

Common

VCS repository link (e.g. GitHub, GitLab)

https://github.com/gradle/gradle

Additional information

No response

Commands

  • gradle - #495

Standard (Core)

  • build - #19273
  • clean - #20558
  • dependencies - #20558
  • dependencyInsight - #20558
  • init - #20558
  • projects - #20558
  • properties - #20558
  • tasks - #20558
  • test - #20558
  • wrapper - #20558

Java Plugin

  • assemble
  • check
  • classes
  • compileJava
  • jar
  • javadoc

Application Plugin

  • installDist
  • run

Publishing

  • publish
  • publishToMavenLocal

Android Plugin

  • assembleDebug
  • assembleRelease
  • connectedAndroidTest
  • installDebug
  • lint

Spring Boot Plugin

  • bootBuildImage
  • bootJar
  • bootRun
  • bootWar

Contributor guide