From b01bb3cf7bf66eb6172c60efdafd47a7f280a57e Mon Sep 17 00:00:00 2001 From: Johannes Schmelz Date: Mon, 2 Dec 2024 16:29:57 +0100 Subject: [PATCH] update for jar export --- Projekte/monopoly/client/build.gradle | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Projekte/monopoly/client/build.gradle b/Projekte/monopoly/client/build.gradle index 85ddd4b..02d8ae9 100644 --- a/Projekte/monopoly/client/build.gradle +++ b/Projekte/monopoly/client/build.gradle @@ -1,5 +1,6 @@ plugins { id 'buildlogic.jme-application-conventions' + id 'com.github.johnrengelman.shadow' version '8.1.1' } description = 'Monopoly Client' @@ -26,3 +27,12 @@ application { mainClass = 'pp.monopoly.client.MonopolyApp' applicationName = 'monopoly' } + +shadowJar { + manifest { + attributes( + 'Main-Class': 'pp.monopoly.client.MonopolyApp' + ) + } +} +