gradle: export runnable jar

This commit is contained in:
2025-04-06 13:08:12 +02:00
parent 58cc9f3f17
commit 6584c5cb91

View File

@@ -36,6 +36,13 @@ dependencies {
application { application {
// Define the main class for the application. // Define the main class for the application.
mainClass = "chess.App" mainClass = "chess.App"
applicationName = "3DChess"
}
jar {
manifest {
attributes 'Main-Class': application.mainClass
}
} }
tasks.named('test') { tasks.named('test') {