`TaskExecutionGraph.allTasks` is empty when invoked from `BuildListener.buildFinished`


(Predrag Knezevic) #1

Hi,

I have just noticed that invoking gradle.taskGraph.allTasks within BuildListener.buildFinished() return an empty list. Is that expected? Seen on Gradle 4.5

Thanks,

Predrag