Publish atomicfu compiler plugin separately

- rename plugin into 'kotlin-atomicfu-compiler-plugin'
- add 'kotlin-atomicfu-compiler-plugin-embeddable' to be used with
  'kotlin-comiler-embeddable'

^KT-52811 In Progress
This commit is contained in:
Yahor Berdnikau
2023-03-20 17:31:21 +01:00
committed by Space Team
parent 8ad67faa60
commit 64f8b87b66
7 changed files with 27 additions and 11 deletions
@@ -0,0 +1,17 @@
plugins {
id("org.jetbrains.kotlin.jvm")
}
dependencies {
embedded(project(":kotlin-atomicfu-compiler-plugin")) { isTransitive = false }
}
publish()
runtimeJar(rewriteDefaultJarDepsToShadedCompiler())
sourcesJarWithSourcesFromEmbedded(
project(":kotlin-atomicfu-compiler-plugin").tasks.named<Jar>("sourcesJar")
)
javadocJarWithJavadocFromEmbedded(
project(":kotlin-atomicfu-compiler-plugin").tasks.named<Jar>("javadocJar")
)
@@ -100,9 +100,6 @@ sourceSets {
optInToExperimentalCompilerApi()
runtimeJar()
sourcesJar()
javadocJar()
testsJar()
useD8Plugin()
@@ -125,3 +122,6 @@ projectTest(jUnitMode = JUnitMode.JUnit5) {
systemProperty("atomicfuJvm.classpath", localAtomicfuJvmClasspath.asPath)
}
}
publish()
standardPublicJars()