tldr-pages/tldr

Let's document: gradle

Aperta

#19.101 aperta il 29 ott 2025

 (5 commenti) (0 reazioni) (0 assegnatari)Markdown (5377 fork)batch import
help wantedlet's documentnew command

Metriche repository

Star
 (63.410 stelle)
Metriche merge PR
 (Merge medio 7g 5h) (321 PR mergiate in 30 g)

Descrizione

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

Guida contributor