How to find the source code for a Gradle task visible in IntelliJ Gradle projects window?

Viewed 4174

I have got a large Java/IntelliJ/Gradle project from the repository. It has many tasks in Gradle projects window, but I cannot find definitions for some of them. Even by Total Commander, in the whole workspace. There are dependencies on some of them, but I can't see the code of the task.

1 Answers

The task could have been defined explicitly in the build.gradle file or can come from a plugin (as others have mentioned)

To get more information about the task, use command-line

./gradlew help --task <task>

or

gradle help --task <task>
Related