Skip to content

Commit 37e4336

Browse files
committed
Add main class to built jar
1 parent c892e86 commit 37e4336

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ shadowJar {
5858
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
5959

6060
archiveClassifier.set('')
61+
62+
manifest {
63+
attributes 'Main-Class': "io.mcdocker.launcher.Core"
64+
}
6165
}
6266

6367
jar.finalizedBy(shadowJar)

0 commit comments

Comments
 (0)