I have `org.springframework.boot:spring-boot-gradl...
# spring
n
I have
org.springframework.boot:spring-boot-gradle-plugin:2.0.0.M2
in my classpath
c
nklmish: I believe, for 2.0.0.M2 it is
Copy code
import org.springframework.boot.gradle.dsl.SpringBootExtension
//...
configure<SpringBootExtension> {
	//...
}
But unfortunately I do not see an executable option there. 2.0.0.M2 is still very incomplete, so you should expect things like this. I recommend to head to the Spring issue tracker and if this isn't there yet create the issue yourself to show the Boot team that people care about it enough to do that 🙂
n
Thank you for your time 🙂 . I checkout the source code from github and they seems to have changed it to
BootJar
http://docs.spring.io/spring-boot/docs/2.0.0.M2/gradle-plugin//reference/html/#packaging-executable-configuring-launch-script
So in kotlin I am doing
Copy code
tasks.withType<BootJar> {
    launchScript {
        isIncluded = true
    }
}
c
Nice one, so it's been moved into specific task that deals with jars.
n
But there is a bug in the plugin, I filed an issue https://github.com/spring-projects/spring-boot/issues/9632