Files
kotlin-fork/plugins/swift-export/swift-export.embeddable/build.gradle.kts
T
Artem Olkov cae6e0ee0f Add checks that kotlin-native.swift-export.enabled is actually turned on
Merge-request: KT-MR-13506
Merged-by: Artem Olkov <artem.olkov@jetbrains.com>
2023-12-14 10:27:19 +00:00

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")
)