[Swift export] Umbrella publishing task

As the set of published artifacts might change over time,
we introduce :native:swift:publishAllArtifacts task that hides
all the Swift export publishing details.
This commit is contained in:
Sergey Bogolepov
2024-03-19 16:24:38 +02:00
committed by Space Team
parent 5ddd253091
commit d31201e05f
+16
View File
@@ -8,3 +8,19 @@ tasks.register("sirAllTests") {
":native:swift:sir-printer:test" ":native:swift:sir-printer:test"
) )
} }
if (kotlinBuildProperties.isSwiftExportPluginPublishingEnabled) {
/**
* An umbrella task to publish all artifacts of the Swift Export tool.
*/
tasks.register("publishAllArtifacts") {
dependsOn(
":native:swift:sir:publish",
":native:swift:sir-compiler-bridge:publish",
":native:swift:sir-passes:publish",
":native:swift:sir-printer:publish",
":native:swift:swift-export-standalone:publish",
":native:swift:swift-export-embeddable:publish",
)
}
}