title: Could not find method bootJar() for arguments
body: <p>While building the gradle project I am getting below error-
  FAILURE: Build failed with an exception.</p>
  
  <ul>
  <li><p>Where:
  Build file '/Users/vdubey/Documents/microservices/workspace/Promo-Service/build.gradle' line: 30</p></li>
  <li><p>What went wrong:
  A problem occurred evaluating root project 'Promo-Service'.</p>
  
  <blockquote>
    <p>Could not find method bootJar() for arguments [build_3jq74tz48uic808y18txabjvx$_run_closure1@5c4aa147] on root project 'Promo-Service' of type org.gradle.api.Project.</p>
  </blockquote></li>
  <li><p>Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.</p></li>
  <li><p>Get more help at <a href="https://help.gradle.org" rel="noreferrer">https://help.gradle.org</a></p></li>
  </ul>
  
  <p>Any clue why it is failing?</p>