Publish noarg compiler plugin separately
- also publish 'kotlin-noarg-compiler-plugin-embeddable' to be used with 'kotlin-compiler-embeddable' - 'kotlin-noarg-maven' plugin now just adds 'kotlin-noarg-compiler-plugin' as normal dependency instead embedding it into itself ^KT-52811 In Progress
This commit is contained in:
committed by
Space Team
parent
1a4d203d1c
commit
a58266050f
@@ -39,6 +39,8 @@ sourceSets {
|
||||
|
||||
optInToExperimentalCompilerApi()
|
||||
|
||||
publish()
|
||||
|
||||
runtimeJar()
|
||||
sourcesJar()
|
||||
javadocJar()
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
plugins {
|
||||
id("org.jetbrains.kotlin.jvm")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
embedded(project(":kotlin-noarg-compiler-plugin")) { isTransitive = false }
|
||||
}
|
||||
|
||||
publish {
|
||||
artifactId = artifactId.replace(".", "-")
|
||||
}
|
||||
|
||||
runtimeJar(rewriteDefaultJarDepsToShadedCompiler())
|
||||
sourcesJarWithSourcesFromEmbedded(
|
||||
project(":kotlin-noarg-compiler-plugin").tasks.named<Jar>("sourcesJar")
|
||||
)
|
||||
javadocJarWithJavadocFromEmbedded(
|
||||
project(":kotlin-noarg-compiler-plugin").tasks.named<Jar>("javadocJar")
|
||||
)
|
||||
Reference in New Issue
Block a user