Publish lombok compiler plugin separately
- also add 'kotlin-lombok-compiler-plugin-embeddable' to be used with 'kotlin-compiler-emebeddable' - 'kotlin-maven-lombok' does not try to embed plugin into itself and just depends on compiler plugin as normal dependency ^KT-52811 In Progress
This commit is contained in:
committed by
Space Team
parent
5e41cbda75
commit
1a4d203d1c
@@ -67,6 +67,8 @@ projectTest(jUnitMode = JUnitMode.JUnit5) {
|
||||
}
|
||||
}
|
||||
|
||||
publish()
|
||||
|
||||
runtimeJar()
|
||||
sourcesJar()
|
||||
javadocJar()
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
plugins {
|
||||
id("org.jetbrains.kotlin.jvm")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
embedded(project(":kotlin-lombok-compiler-plugin")) { isTransitive = false }
|
||||
}
|
||||
|
||||
publish {
|
||||
artifactId = artifactId.replace(".", "-")
|
||||
}
|
||||
runtimeJar(rewriteDefaultJarDepsToShadedCompiler())
|
||||
sourcesJarWithSourcesFromEmbedded(
|
||||
project(":kotlin-lombok-compiler-plugin").tasks.named<Jar>("sourcesJar")
|
||||
)
|
||||
javadocJarWithJavadocFromEmbedded(
|
||||
project(":kotlin-lombok-compiler-plugin").tasks.named<Jar>("javadocJar")
|
||||
)
|
||||
Reference in New Issue
Block a user