title: How to import multiproject build in buildSrc dir in Gradle?
body: <p>Hi in my <em>buildSrc</em> dir I have two separate projects, lets name them <strong>one</strong> and <strong>two</strong>.
  I add <strong>build.gradle</strong> and <strong>settings.gradle</strong> file in <strong>buildSrc</strong> dir and in them I wrote:
  <strong>settings.gradle</strong></p>
  
  <pre><code>include \
      "one",
      "two"
  </code></pre>
  
  <p>But when I tried to use some of the plugins, which are provided from this projects, Gradle says that this imports can not be found. I searched for simmilar problems and found that I have to write in <strong>build.gradle</strong> file in buildSrc:</p>
  
  <pre><code>dependencies {
      runtime subprojects.collect { owner.project(it.path) }
  }
  </code></pre>
  
  <p>What does this line mean? And why I have to add it? <strong>BuildSrc</strong> adds copiled classes automatically on the <em>classpath</em>,or I am wrong?</p>