title: How to specify the Launcher in Spring Boot Gradle?
body: <p>There three launcher in Spring Boot: JarLauncher/PropertiesLauncher/WarLauncher.
  For executable jar, JarLauncher will be used by default. Now I want to use PropertiesLauncher instead so that I could use external classpath. How could I specify that is spring boot gradle plugin?</p>
  
  <p>Accoring to D3.1 of this doc <a href="http://docs.spring.io/spring-boot/docs/1.2.x/reference/html/executable-jar.html#executable-jar-launching" rel="noreferrer">D.3.1 Launcher manifest</a>, I can specify the main class in MANIFEST.MF like this:</p>
  
  <pre><code>Main-Class: org.springframework.boot.loader.JarLauncher
  Start-Class: com.mycompany.project.MyApplication
  </code></pre>
  
  <p>However, in Spring Boot Gradle, the following code snippet actually specifies the Start-Class, not the Main-Class:</p>
  
  <pre><code>springBoot {
      mainClass = "com.sybercare.HealthServiceApplication"
  }
  </code></pre>
  
  <p>Do I need to create the MANIFIEST.MF manually or there is a better way to do this?</p>
  
  <p>Thanks!</p>