Skip to content

Commit

Permalink
Enable parent publishPlugins task
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnatBeresnev committed Oct 26, 2023
1 parent 25d2eab commit b393a12
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ registerParentTaskOfIncludedBuilds("publishAllPublicationsToSpaceDevRepository",
registerParentTaskOfIncludedBuilds("publishAllPublicationsToSpaceTestRepository", groupName = "publication")
registerParentTaskOfIncludedBuilds("publishToMavenLocal", groupName = "publication")

// TODO [structure-refactoring] - only for gradle plugins
//registerParentTaskOfIncludedBuilds("publishPlugins", groupName = "publication")
registerParentTaskOfIncludedBuilds("publishPlugins", groupName = "publication") {
it.name in listOf("gradle-plugin-classic")
}

fun addDependencyOnSameTaskOfIncludedBuilds(existingTaskName: String, filter: (IncludedBuild) -> Boolean = { true }) {
tasks.named(existingTaskName) {
Expand Down

0 comments on commit b393a12

Please sign in to comment.