LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

gradle-dependencies

Gradle dependency tree viewer

TLDR

List dependencies
$ gradle dependencies
copy
Show specific configuration
$ gradle dependencies --configuration [compileClasspath]
copy
Module dependencies
$ gradle :module:dependencies
copy
Output to file
$ gradle dependencies > deps.txt
copy

SYNOPSIS

gradle dependencies [options]

DESCRIPTION

gradle dependencies displays the dependency tree for a project. It shows all direct and transitive dependencies with their versions and conflict resolution.The output shows dependency hierarchies for different configurations (compile, runtime, test), helping to understand dependency chains and version conflicts.

PARAMETERS

--configuration NAME

Specific configuration to show.
--help
Display help information.

INSTALL

sudo pacman -S gradle
copy
sudo apk add gradle
copy
brew install gradle
copy
nix profile install nixpkgs#gradle
copy

CAVEATS

Large trees can be overwhelming. Use --configuration to filter. Check for version conflicts.

HISTORY

The dependencies task is a standard Gradle diagnostic task for understanding project dependencies.

SEE ALSO

RESOURCES

Copied to clipboard
Kai