title: CLI running gradle dependencies task of multiple projects
body: <ul>
  <li>I'm trying to <em>automate</em> <code>gradlew dependencies</code> for <em>multiple</em> projects</li>
  <li>I want to use the <code>--scan</code> option for web output.</li>
  <li>The problem is that I need to type <code>yes</code> for the license agreement every time.</li>
  </ul>
  <pre><code>$ for ...; do cd ...; ./gradlew dependencies --scan; done
  </code></pre>
  <p>Trying to redirect a <code>yes</code> answer in advance doesn't work:</p>
  <pre><code>$ ./gradlew dependencies --scan &lt; &quot;yes&quot;    // bash: yes: No such file or directory
  </code></pre>