...
Troubleshooting build issues
You can increase the log level of the build with command-line flags:
- the
--info
flag adds verbose logging - the
--stacktrace
flag adds a stacktrace on failures - the
--scan
flag creates a Gradle Build Scan
There are also various built-in tasks useful for introspecting components of the build:
projects
: Lists all projects in present in the buildtasks
: Displays tasks runnable from the root project (including those in subprojects)dependencies
: Displays dependencies for a project, for each configuration scopedependencyInsight --dependency <name> --configuration <name>
: Inspect why a dependency exists for a project configurationhelp --task <taskName>
: Display help message for a specific task.
Troubleshooting Resources
...