https://kotlinlang.org logo
#gradle
Title
# gradle
a

Ademir Queiroga

11/24/2023, 6:40 PM
Hello everyone. Does anyone know a way (or plugin) to output a gradle task dependency graph? For example, I want to run a task and check which subtasks it depends on and in which order they’ll run.
not kotlin but kotlin colored 1
v

Vampire

11/24/2023, 6:43 PM
Is the hierarchy important, or is a flat list sufficient?
If the latter, then
--dry-run
or
-m
a

Ademir Queiroga

11/24/2023, 6:44 PM
The hierarchy is important. The dry-run it’s helpfull already but having the hierarchy would help even moer
v

Vampire

11/24/2023, 6:46 PM
Then there is nothing built-in I'm aware of. Maybe some plugin provides something.
Btw. your question is off-topic here, see the channel and server topic. 😉
a

Ademir Queiroga

11/24/2023, 6:46 PM
Oh, I’m sorry. I’ll hop in the gradle slack! Thanks for the help!
👌 1