5fcdd4a9f6
Co-authored-by: Sergej Jaskiewicz <jaskiewiczs@icloud.com> Merge-request: KT-MR-13351 Merged-by: Artem Olkov <artem.olkov@jetbrains.com>
22 lines
603 B
Kotlin
22 lines
603 B
Kotlin
plugins {
|
|
id("org.jetbrains.kotlin.jvm")
|
|
}
|
|
|
|
dependencies {
|
|
embedded(project(":kotlin-swift-export-compiler-plugin")) { isTransitive = false }
|
|
}
|
|
|
|
if (project.hasProperty("kotlin-native.swift-export.enabled")) {
|
|
publish {
|
|
artifactId = "kotlin-swift-export-compiler-plugin-embeddable"
|
|
}
|
|
}
|
|
|
|
runtimeJar(rewriteDefaultJarDepsToShadedCompiler())
|
|
sourcesJarWithSourcesFromEmbedded(
|
|
project(":kotlin-swift-export-compiler-plugin").tasks.named<Jar>("sourcesJar")
|
|
)
|
|
javadocJarWithJavadocFromEmbedded(
|
|
project(":kotlin-swift-export-compiler-plugin").tasks.named<Jar>("javadocJar")
|
|
)
|