title: Gradle/Jenkins : Create a gradle file to direct to sub projects
body: <p>I've got a directory with three android projects in it.
  The MainDir looks like that :</p>
  
  <pre><code>/.gradle
  /.git
  /project1
  /project2
  /project3
  .gitignore
  .Jenkinsfile
  .README.md
  </code></pre>
  
  <p>In jenkins I can't run a shell script during the build that launchs gradle tasks for eauch of those projects because he doesn't know these are projects (he says "no sub-project").</p>
  
  <p>In a project dir it looks like :</p>
  
  <pre><code>/.gradle
  /app
  /build
  /gradle
  .gitignore
  .build.gradle
  .gradle.properties
  .gradlew
  </code></pre>
  
  <p>Is there a way to make jenkins understand these are three projects he can launch gradle taks in ? Like creating a build.gradle file in the main directory doing that ?
  Or should I just create 3 Jenkins items?</p>