Make build depend on shadowJar
This commit is contained in:
parent
04bef1b3e8
commit
99b9da9be1
1 changed files with 5 additions and 0 deletions
|
@ -52,3 +52,8 @@ tasks.withType<ShadowJar> {
|
|||
attributes(mapOf("Main-Class" to "com.github.csolem.gradle.shadow.kotlin.example.App"))
|
||||
}
|
||||
}
|
||||
|
||||
// Set build to depend on shadowJar
|
||||
tasks.named("build") {
|
||||
dependsOn("shadowJar")
|
||||
}
|
Loading…
Reference in a new issue