From 75fd5259bf33d471c9e10e1d5f6bc81a49f9bc29 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sun, 21 Apr 2024 17:43:50 +0200 Subject: [PATCH] Shadow jar --- app/build.gradle.kts | 3 ++- makefile | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 4d27de6..0910329 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -8,6 +8,7 @@ plugins { // Apply the application plugin to add support for building a CLI application in Java. application + id("com.github.johnrengelman.shadow") version "8.1.1" } repositories { @@ -61,4 +62,4 @@ tasks.named("jar") { "Implementation-Version" to version ) } -} +} \ No newline at end of file diff --git a/makefile b/makefile index 53e22df..5c904f3 100644 --- a/makefile +++ b/makefile @@ -1,3 +1,6 @@ +build: + ./gradlew shadowJar + run: ./gradlew run @@ -7,4 +10,4 @@ clean: test: ./gradlew test -.PHONY: run clean test +.PHONY: run clean test build \ No newline at end of file