[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:
committed by
Space Team
parent
b46ffc35f1
commit
5ddd253091
@@ -38,4 +38,12 @@ projectTest(jUnitMode = JUnitMode.JUnit5) {
|
|||||||
useJUnitPlatform { }
|
useJUnitPlatform { }
|
||||||
}
|
}
|
||||||
|
|
||||||
testsJar()
|
testsJar()
|
||||||
|
|
||||||
|
if (kotlinBuildProperties.isSwiftExportPluginPublishingEnabled) {
|
||||||
|
publish()
|
||||||
|
}
|
||||||
|
|
||||||
|
runtimeJar()
|
||||||
|
sourcesJar()
|
||||||
|
javadocJar()
|
||||||
@@ -27,3 +27,11 @@ sourceSets {
|
|||||||
tasks.withType<KotlinJvmCompile> {
|
tasks.withType<KotlinJvmCompile> {
|
||||||
compilerOptions.freeCompilerArgs.add("-Xcontext-receivers")
|
compilerOptions.freeCompilerArgs.add("-Xcontext-receivers")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (kotlinBuildProperties.isSwiftExportPluginPublishingEnabled) {
|
||||||
|
publish()
|
||||||
|
}
|
||||||
|
|
||||||
|
runtimeJar()
|
||||||
|
sourcesJar()
|
||||||
|
javadocJar()
|
||||||
@@ -37,3 +37,11 @@ projectTest(jUnitMode = JUnitMode.JUnit5) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
testsJar()
|
testsJar()
|
||||||
|
|
||||||
|
if (kotlinBuildProperties.isSwiftExportPluginPublishingEnabled) {
|
||||||
|
publish()
|
||||||
|
}
|
||||||
|
|
||||||
|
runtimeJar()
|
||||||
|
sourcesJar()
|
||||||
|
javadocJar()
|
||||||
@@ -54,3 +54,11 @@ if (kotlinBuildProperties.isInJpsBuildIdeaSync) {
|
|||||||
this.module.generatedSourceDirs.add(generationRoot)
|
this.module.generatedSourceDirs.add(generationRoot)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (kotlinBuildProperties.isSwiftExportPluginPublishingEnabled) {
|
||||||
|
publish()
|
||||||
|
}
|
||||||
|
|
||||||
|
runtimeJar()
|
||||||
|
sourcesJar()
|
||||||
|
javadocJar()
|
||||||
|
|||||||
@@ -48,4 +48,12 @@ val test by nativeTest("test", null) {
|
|||||||
useJUnitPlatform { }
|
useJUnitPlatform { }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (kotlinBuildProperties.isSwiftExportPluginPublishingEnabled) {
|
||||||
|
publish()
|
||||||
|
}
|
||||||
|
|
||||||
|
runtimeJar()
|
||||||
|
sourcesJar()
|
||||||
|
javadocJar()
|
||||||
|
|
||||||
testsJar()
|
testsJar()
|
||||||
|
|||||||
Reference in New Issue
Block a user