title: Rung a single Gradle task without dependency tasks
body: <p>What are ways to minimize Gradle runtime when running a single task that is known to have no task dependencies on a project containing many sub-projects (over 100) where just configuration phase takes over 80 seconds? Most time is wasted in configuration phase, configuring tasks that are known not to be executed.</p>
  <p>I'm aware of <a href="https://docs.gradle.org/current/userguide/command_line_interface.html#sec:command_line_executing_tasks" rel="nofollow noreferrer"><code>--exclude-task</code></a> that allows to exclude a task from running. However this seems a bit clumsy since I'd like to exclude all but one task.</p>
  <p>There is also a <a href="https://docs.gradle.org/current/userguide/configuration_cache.html" rel="nofollow noreferrer">Configuration cache</a> however it is still an incubation effort (as of version 7.4.2) and it conflicts with some used features like <code>Gradle.addBuildListener</code>.</p>