title: "no main manifest attribute" when trying to execute fat jar
body: <p>I have a simple spring-boot microservice project, and I am trying to get it to deploy to my maven repository.</p>
  
  <p>When I create my jar file through</p>
  
  <pre><code>gradlew build
  </code></pre>
  
  <p>I can execute my fat jar with</p>
  
  <pre><code>java -jar build/libs/tws-0.1.1-SNAPSHOT.jar
  </code></pre>
  
  <p>However, when I upload the jar to artifactory, through uploadArchives, this is the contents of my MANIFEST.MF:</p>
  
  <pre><code>Manifest-Version: 1.0
  </code></pre>
  
  <p>Obvioulsy something wrong here, and when I download the artifact and try to execute it, I get the error "no main manifest attribute".</p>
  
  <p>When I look at the debug log of uploadArchives, I can see that the jar is rebuilt, and it might be that the spring boot plugin for gradle is somehow shorted in this process.</p>