Skip to content

Instantly share code, notes, and snippets.

@kyletitus
Created May 7, 2020 16:26
Show Gist options
  • Save kyletitus/fbff3c3f25bc790e0491412db6a6c2c3 to your computer and use it in GitHub Desktop.
Save kyletitus/fbff3c3f25bc790e0491412db6a6c2c3 to your computer and use it in GitHub Desktop.
gradle.taskGraph.whenReady { taskGraph ->
println "Tasks"
taskGraph.getAllTasks().eachWithIndex { task, n ->
println "${n + 1} $task"
task.dependsOn.eachWithIndex { depObj, m ->
println " ${m + 1} $depObj"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment