title: Spring Boot 2 Gradle plugin without executable jar
body: <p>How do I configure Spring Boot Gradle plugin 2 to disable the Boot distribution in Gradle Script Kotlin.</p>
  
  <p>The distribution i want is a assembly bundle zip with all dependencies (and the jar) in the lib folder. </p>
  
  <p>I have enabled the Jar task and disabled the bootJar task.</p>
  
  <p>Current source of my build file <a href="https://github.com/Skatteetaten/mokey/blob/825a81f20c21a2220876a09ebf7f01fe7c61f2fd/build.gradle.kts" rel="noreferrer">https://github.com/Skatteetaten/mokey/blob/825a81f20c21a2220876a09ebf7f01fe7c61f2fd/build.gradle.kts</a></p>
  
  <p>Note that the aurora skatteetaten gradle plugin adds the distribution mechanism. <a href="https://github.com/Skatteetaten/aurora-gradle-plugin" rel="noreferrer">https://github.com/Skatteetaten/aurora-gradle-plugin</a></p>