title: No value has been specified for property 'mainClassName'
body: <p>I am trying to build a project with </p>
  
  <pre><code>apply plugin: 'spring-boot'
  </code></pre>
  
  <p>But it throws an exception at the step <b>startScripts</b></p>
  
  <pre><code>:common:compileJava UP-TO-DATE
  :common:processResources UP-TO-DATE
  :common:classes UP-TO-DATE
  :common:jar UP-TO-DATE
  :common:findMainClass
  :common:startScripts FAILED
  
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  A problem was found with the configuration of task ':common:startScripts'.
  &gt; No value has been specified for property 'mainClassName'.
  </code></pre>
  
  <p>But I really do not need a main Class for this module. How should I settle this?</p>