mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
642 B
Plaintext
26 lines
642 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# gradle dependencies
|
|
|
|
> Display the dependency tree for a Gradle project.
|
|
> More information: <https://docs.gradle.org/current/userguide/command_line_interface.html#listing_project_dependencies>.
|
|
|
|
- Display all dependencies:
|
|
|
|
`gradle dependencies`
|
|
|
|
- Display dependencies for a specific configuration:
|
|
|
|
`gradle dependencies --configuration {{implementation}}`
|
|
|
|
- Display dependencies for a specific subproject:
|
|
|
|
`gradle :{{subproject}}:dependencies`
|
|
|
|
- Display dependencies and save to a file:
|
|
|
|
`gradle dependencies > {{path/to/dependencies.txt}}`
|