eef7c3e834
With this change it will have consistent naming with other compiler plugins. '-embeddable' was also renamed. 'dist' should contain two identical jar files: - 'serialization-compiler-plugin.jar' - 'kotlinx-serialization-compiler-plugin.jar' ^KT-58530 In Progress
20 lines
541 B
Kotlin
20 lines
541 B
Kotlin
plugins {
|
|
id("org.jetbrains.kotlin.jvm")
|
|
}
|
|
|
|
dependencies {
|
|
embedded(project(":kotlinx-serialization-compiler-plugin")) { isTransitive = false }
|
|
}
|
|
|
|
publish {
|
|
artifactId = artifactId.replace(".", "-").replace("kotlinx-", "kotlin-")
|
|
}
|
|
|
|
runtimeJar(rewriteDefaultJarDepsToShadedCompiler())
|
|
sourcesJarWithSourcesFromEmbedded(
|
|
project(":kotlinx-serialization-compiler-plugin").tasks.named<Jar>("sourcesJar")
|
|
)
|
|
javadocJarWithJavadocFromEmbedded(
|
|
project(":kotlinx-serialization-compiler-plugin").tasks.named<Jar>("javadocJar")
|
|
)
|