2018-10-03 03:08:22 +08:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'org.springframework.boot' version '{version}'
|
2017-03-15 04:51:23 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
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[]
|