Files
kotlin-fork/plugins/swift-export/swift-export.embeddable/build.gradle.kts
T
Artem Olkov 5fcdd4a9f6 KT-63748: Pack Swift Export Frontend into compiler plugin
Co-authored-by: Sergej Jaskiewicz <jaskiewiczs@icloud.com>


Merge-request: KT-MR-13351
Merged-by: Artem Olkov <artem.olkov@jetbrains.com>
2023-12-13 10:40:38 +00:00

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