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:
Yahor Berdnikau
2023-03-20 17:55:28 +01:00
committed by Space Team
parent 5e41cbda75
commit 1a4d203d1c
6 changed files with 28 additions and 24 deletions
@@ -8,8 +8,6 @@ plugins {
dependencies {
commonApi(platform(project(":kotlin-gradle-plugins-bom")))
commonApi(project(":kotlin-gradle-plugin-model"))
embedded(project(":kotlin-lombok-compiler-plugin")) { isTransitive = false }
}
projectTest(parallel = true)
@@ -38,5 +38,5 @@ class LombokSubplugin @Inject internal constructor(private val registry: Tooling
override fun getCompilerPluginId(): String = "org.jetbrains.kotlin.lombok"
override fun getPluginArtifact(): SubpluginArtifact = JetBrainsSubpluginArtifact(artifactId = "kotlin-lombok")
override fun getPluginArtifact(): SubpluginArtifact = JetBrainsSubpluginArtifact(artifactId = "kotlin-lombok-compiler-plugin-embeddable")
}