cae6e0ee0f
Merge-request: KT-MR-13506 Merged-by: Artem Olkov <artem.olkov@jetbrains.com>
23 lines
767 B
Kotlin
23 lines
767 B
Kotlin
plugins {
|
|
id("org.jetbrains.kotlin.jvm")
|
|
}
|
|
|
|
dependencies {
|
|
embedded(project(":kotlin-swift-export-compiler-plugin")) { isTransitive = false }
|
|
}
|
|
|
|
if (project.kotlinBuildProperties.isSwiftExportPluginPublishingEnabled) {
|
|
// todo: is you are removing this check - don't forget to run tests in repo/artifacts-tests/src/test/kotlin/org/jetbrains/kotlin/code/ArtifactsTest.kt
|
|
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")
|
|
)
|