Make build depend on shadowJar

This commit is contained in:
Imbus 2024-05-11 14:06:58 +02:00
parent 04bef1b3e8
commit 99b9da9be1

View file

@ -51,4 +51,9 @@ tasks.withType<ShadowJar> {
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")
}