title: Clean way of adding .ebextensions to Spring Boot Jar using Gradle
body: <p>Is there a clean way of adding additional root folders to a Spring Boot Jar file generated using the default bootRepackage. In my case I need the .ebextenions folder for AWS beanstalk. </p>
  
  <p>I know I can hack it -- for example add another task after bootRepackage to unzip, repackage (again), and re-zip.  Is there a cleaner way ? </p>
  
  <p>Thanks</p>
  
  <p>.. the 2 ways that I've tried (that don't work) :</p>
  
  <pre><code>jar {
      from('src/main/ebextensions') {
          into('ebextensions')
      }
  }
  
  bootRepackage {
      from('src/main/ebextensions') {
          into('ebextensions')
      }
  }
  </code></pre>