diff --git a/spring-boot-samples/spring-boot-sample-logback/build.gradle b/spring-boot-samples/spring-boot-sample-logback/build.gradle index 9db170df13..391a0ec39a 100644 --- a/spring-boot-samples/spring-boot-sample-logback/build.gradle +++ b/spring-boot-samples/spring-boot-sample-logback/build.gradle @@ -25,7 +25,7 @@ jar { version = '0.0.0' } -run { +bootRun { systemProperties = System.properties } diff --git a/spring-boot-samples/spring-boot-sample-simple/build.gradle b/spring-boot-samples/spring-boot-sample-simple/build.gradle index 9db170df13..391a0ec39a 100644 --- a/spring-boot-samples/spring-boot-sample-simple/build.gradle +++ b/spring-boot-samples/spring-boot-sample-simple/build.gradle @@ -25,7 +25,7 @@ jar { version = '0.0.0' } -run { +bootRun { systemProperties = System.properties }