From 99b9da9be1c34e74f9fa443b4ab7a1db8dedad21 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 11 May 2024 14:06:58 +0200 Subject: [PATCH] Make build depend on shadowJar --- app/build.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 04fbc13..a6701b3 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -51,4 +51,9 @@ tasks.withType { manifest { attributes(mapOf("Main-Class" to "com.github.csolem.gradle.shadow.kotlin.example.App")) } +} + +// Set build to depend on shadowJar +tasks.named("build") { + dependsOn("shadowJar") } \ No newline at end of file