Hi,
I'm using Spring Boot 2.0.0.RELEASE
, Gradle and the org.springframework.boot
Gradle plugin. I also applied the application
plugin in my build.gradle.
I've set applicationDefaultJvmArgs
to some Xmx settings. bootRun
seems to use this setting, but when I build a distribution with the bootDistZip
, the starter scripts don't contain the Xmx values.
I can get them to do that by specifying
bootStartScripts {
defaultJvmOpts = project.applicationDefaultJvmArgs
}
but it looks like a bug to me that bootRun
uses the applicationDefaultJvmArgs
, but bootDistZip
doesn't. Am I missing something?