2017-03-15 04:51:23 +08:00
|
|
|
buildscript {
|
|
|
|
dependencies {
|
|
|
|
classpath files(pluginClasspath.split(','))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'org.springframework.boot'
|
|
|
|
apply plugin: 'java'
|
|
|
|
|
|
|
|
bootJar {
|
2017-10-19 19:11:04 +08:00
|
|
|
mainClassName 'com.example.ExampleApplication'
|
2017-03-15 04:51:23 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// tag::include-launch-script[]
|
|
|
|
bootJar {
|
2017-09-21 13:55:37 +08:00
|
|
|
launchScript()
|
2017-03-15 04:51:23 +08:00
|
|
|
}
|
|
|
|
// end::include-launch-script[]
|