Skip to content

Commit 759a2d1

Browse files
committed
BAEL-1623 Added an bootJar block in build.gradle
1 parent d7899b6 commit 759a2d1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎spring-boot-gradle/build.gradle‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,9 @@ dependencies {
3131

3232
springBoot {
3333
mainClassName = 'org.baeldung.DemoApplication'
34+
}
35+
36+
bootJar {
37+
// This is overridden by the mainClassName in springBoot{} and added here for reference purposes.
38+
mainClassName = 'org.baeldung.DemoApplication'
3439
}

0 commit comments

Comments
 (0)