title: add manifest file to jar with gradle
body: <p>How to add manifest files in jar files? </p>
  
  <pre><code>plugins {
          id 'java'
          id 'application'
  }
  
  application {
          mainClassName = 'com.Main'
  }
  
  jar {
          from "MANIFEST.MF"
  }
  
  sourceCompatibility = 11
  </code></pre>
  
  <p>when I try to execute jar, I get following :</p>
  
  <blockquote>
    <p>% java -jar tmpApp.jar<br>
    no main manifest attribute, in tmpApp.jar</p>
  </blockquote>