diff --git a/spring-boot-gradle/build.gradle b/spring-boot-gradle/build.gradle index fb651f79c9..3c652f3d5c 100644 --- a/spring-boot-gradle/build.gradle +++ b/spring-boot-gradle/build.gradle @@ -36,4 +36,13 @@ springBoot { bootJar { // This is overridden by the mainClassName in springBoot{} and added here for reference purposes. mainClassName = 'org.baeldung.DemoApplication' + +// This block serves the same purpose as the above thus commented out. Added here for reference purposes +// manifest { +// attributes 'Start-Class': 'org.baeldung.DemoApplication' +// } +} + +bootJar { + } \ No newline at end of file