[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
@@ -39,3 +39,11 @@ projectTest(jUnitMode = JUnitMode.JUnit5) {
|
||||
}
|
||||
|
||||
testsJar()
|
||||
|
||||
if (kotlinBuildProperties.isSwiftExportPluginPublishingEnabled) {
|
||||
publish()
|
||||
}
|
||||
|
||||
runtimeJar()
|
||||
sourcesJar()
|
||||
javadocJar()
|
||||
@@ -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()
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user