78c94b65b9
- also publish 'kotlin-sam-with-receiver-compiler-plugin-embeddable' to be used with 'kotlin-compiler-embeddable' - 'kotlin-maven-sam-with-receiver' now just adds 'kotlin-sam-with-receiver-compiler-plugin' as normal dependency instead of embedding it into itself ^KT-52811 In Progress
20 lines
519 B
Kotlin
20 lines
519 B
Kotlin
plugins {
|
|
id("org.jetbrains.kotlin.jvm")
|
|
}
|
|
|
|
dependencies {
|
|
embedded(project(":kotlin-sam-with-receiver-compiler-plugin")) { isTransitive = false }
|
|
}
|
|
|
|
publish {
|
|
artifactId = artifactId.replace(".", "-")
|
|
}
|
|
|
|
runtimeJar(rewriteDefaultJarDepsToShadedCompiler())
|
|
sourcesJarWithSourcesFromEmbedded(
|
|
project(":kotlin-sam-with-receiver-compiler-plugin").tasks.named<Jar>("sourcesJar")
|
|
)
|
|
javadocJarWithJavadocFromEmbedded(
|
|
project(":kotlin-sam-with-receiver-compiler-plugin").tasks.named<Jar>("javadocJar")
|
|
)
|