Skip to content

Commit 858f83a

Browse files
committed
Added another bootJar manifest configuration example commented out
1 parent 759a2d1 commit 858f83a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎spring-boot-gradle/build.gradle‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,13 @@ springBoot {
3636
bootJar {
3737
// This is overridden by the mainClassName in springBoot{} and added here for reference purposes.
3838
mainClassName = 'org.baeldung.DemoApplication'
39+
40+
// This block serves the same purpose as the above thus commented out. Added here for reference purposes
41+
// manifest {
42+
// attributes 'Start-Class': 'org.baeldung.DemoApplication'
43+
// }
44+
}
45+
46+
bootJar {
47+
3948
}

0 commit comments

Comments
 (0)