Gradle listing all tasks is slow for multi project build. How can I debug?

(daniel_kim) #1


I have a large multi project build. When I run the task “tasks” to list out the tasks, it takes about a 1 minute and 30 seconds. I tried running the tasks command with --profile. When I looked at the profile, it spent about 18 seconds configuring everything. Dependency resolution was also very quick, so the time was spent executing the “tasks” task (about a minute and 15 seconds). I am running all my commands with a daemon (I set it through GRADLE_OPTS). Is there any way other way to speed up the execution or any way to debug to see what I need to modify?


(Richard Day) #2