Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add gradle introspection tasks

...

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 build
  • tasks: Displays tasks runnable from the root project (including those in subprojects)
  • dependencies: Displays dependencies for a project, for each configuration scope
  • dependencyInsight --dependency <name> --configuration <name>: Inspect why a dependency exists for a project configuration
  • help --task <taskName>: Display help message for a specific task.

Troubleshooting Resources

...