title: Gradle skip module when building another
body: <p>I am creating an app, which basically consists of 3 JAVA modules:</p>
  
  <ul>
  <li>AndroidApp (version for android, depends on HTTPServer)</li>
  <li>HTTPServer (core server functionality)</li>
  <li>HTTPServerStandalone (wrapper around core, so it can be launched standalone usong Java SE, depends on HTTPServer)</li>
  </ul>
  
  <p>So there is no dependency between AndroidApp and HTTPServerStandalone. They don't need each other.</p>
  
  <p>Now I've encountered a problem, because I can not build HTTPServerStandalone without Android SDK installed, because settings.gradle contains an include for all 3 modules. Is there a way, how can I prevent AndroidApp from being included when I am building HTTPServerStandalone?</p>