Use Gradle's CreateStartScripts task with 6.4 and later
Fixes gh-20759
This commit is contained in:
@@ -31,7 +31,7 @@ task('javaCompileEncoding') {
|
||||
|
||||
task('startScriptsDefaultJvmOpts') {
|
||||
doFirst {
|
||||
tasks.withType(org.springframework.boot.gradle.tasks.application.CreateBootStartScripts) {
|
||||
tasks.getByName("bootStartScripts") {
|
||||
println "$name defaultJvmOpts = $defaultJvmOpts"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user