Change sam-with-receiver plugin to use published compiler plugin
- 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
This commit is contained in:
committed by
Space Team
parent
a58266050f
commit
78c94b65b9
@@ -0,0 +1,19 @@
|
||||
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")
|
||||
)
|
||||
Reference in New Issue
Block a user