From b393a12f273a7d4b77d4e2f3cb5ed8c978fe0eca Mon Sep 17 00:00:00 2001 From: IgnatBeresnev Date: Fri, 27 Oct 2023 01:39:32 +0200 Subject: [PATCH] Enable parent publishPlugins task --- build.gradle.kts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 464a8ac3c5..63d78d9f0e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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) {