From 858f83a3defd25a8674cfe0361a0b3652a6add07 Mon Sep 17 00:00:00 2001 From: hyapit Date: Wed, 4 Apr 2018 22:13:29 -0700 Subject: [PATCH] Added another bootJar manifest configuration example commented out --- spring-boot-gradle/build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) 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