Skip to content

Commit 2e0dfe0

Browse files
committed
build: disable the plain archive in jar task
1 parent 5ca9513 commit 2e0dfe0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.gradle

+5
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,8 @@ bootJar {
4646
mainClass = 'org.daming.hoteler.HotelerApplication'
4747
}
4848

49+
jar {
50+
// https://docs.spring.io/spring-boot/docs/current/gradle-plugin/reference/htmlsingle/#packaging-executable.and-plain-archives
51+
enabled = false
52+
}
53+

0 commit comments

Comments
 (0)