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