Skip to content

Commit

Permalink
Use lazy filtering API
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Dec 31, 2024
1 parent bd7db61 commit 0a9374d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ subprojects {
}
}
}
tasks.withType<PublishToMavenRepository>().configureEach {
if (name.endsWith("To${tempRepoName.capitalized()}Repository")) {
dependsOn(clearTempRepoDir)
tasks.withType<PublishToMavenRepository>()
.named { it.endsWith("To${tempRepoName.capitalized()}Repository") }
.configureEach {
dependsOn(clearTempRepoDir)
}
}
}
}

0 comments on commit 0a9374d

Please sign in to comment.