Skip to content

Commit

Permalink
fix parent publish task
Browse files Browse the repository at this point in the history
  • Loading branch information
f43nd1r committed Jun 23, 2020
1 parent 3074771 commit ab3433c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,11 @@ subprojects {

tasks.register("build") {}

tasks.register("publish") {}
tasks.register("publish") {
subprojects {
tasks.findByName("publish")?.let { dependsOn(it) }
}
}

tasks.register<Delete>("clean") {
delete = setOf(buildDir)
Expand Down

0 comments on commit ab3433c

Please sign in to comment.