The documentation at https://docs.spring.io/spring-boot/docs/current/reference/html/deployment-install.html says:
To customize written elements, use the embeddedLaunchScriptProperties option of the Spring Boot Maven or Gradle plugins.
There is no embeddedLaunchScriptProperties property in Gradle plugin. Affected versions: Spring Boot 2.
Comment From: wilkinsona
Thanks for the report. We missed updating that piece of the documentation when the Gradle plugin was rewritten in Spring Boot 2.0. You can find up-to-date documentation for configuring the launch script here.
Comment From: LostYang
https://docs.spring.io/spring-boot/docs/current/reference/html/deployment-install.html上的文档说:
How to set this property(executable)?
Comment From: snicoll
@LostYang please don't ask questions on an issue, especially considering it is closed and the issue doesn't seem related to your question. If you need support, please review the guidelines for contributing, and ask a question on StackOverflow or Gitter. When you do, please provide more details as the link you've provided show a code snippet that does set the flag.