[Swift export] Publish non-embedded artifacts

In some cases we can't use embedded artifact, and need to rely on
un-shadowed paths.

^KT-66702 fixed
This commit is contained in:
Sergey Bogolepov
2024-03-15 22:34:05 +02:00
committed by Space Team
parent b46ffc35f1
commit 5ddd253091
5 changed files with 41 additions and 1 deletions
@@ -39,3 +39,11 @@ projectTest(jUnitMode = JUnitMode.JUnit5) {
}
testsJar()
if (kotlinBuildProperties.isSwiftExportPluginPublishingEnabled) {
publish()
}
runtimeJar()
sourcesJar()
javadocJar()
+8
View File
@@ -27,3 +27,11 @@ sourceSets {
tasks.withType<KotlinJvmCompile> {
compilerOptions.freeCompilerArgs.add("-Xcontext-receivers")
}
if (kotlinBuildProperties.isSwiftExportPluginPublishingEnabled) {
publish()
}
runtimeJar()
sourcesJar()
javadocJar()
@@ -37,3 +37,11 @@ projectTest(jUnitMode = JUnitMode.JUnit5) {
}
testsJar()
if (kotlinBuildProperties.isSwiftExportPluginPublishingEnabled) {
publish()
}
runtimeJar()
sourcesJar()
javadocJar()
+8
View File
@@ -54,3 +54,11 @@ if (kotlinBuildProperties.isInJpsBuildIdeaSync) {
this.module.generatedSourceDirs.add(generationRoot)
}
}
if (kotlinBuildProperties.isSwiftExportPluginPublishingEnabled) {
publish()
}
runtimeJar()
sourcesJar()
javadocJar()
@@ -48,4 +48,12 @@ val test by nativeTest("test", null) {
useJUnitPlatform { }
}
if (kotlinBuildProperties.isSwiftExportPluginPublishingEnabled) {
publish()
}
runtimeJar()
sourcesJar()
javadocJar()
testsJar()