Build: Add JPS artifact for kotlin-compiler.jar
JPS build assumes fat jar is built from embedded configuration, but we can't use it in gradle build in :prepare:compiler project since slightly more complex processing is required like stripping metadata & services from some jars
This commit is contained in:
@@ -59,6 +59,8 @@ if (kotlinBuildProperties.isInJpsBuildIdeaSync) {
|
||||
ideArtifacts {
|
||||
generateIdeArtifacts(rootProject, this@ideArtifacts)
|
||||
|
||||
kotlinCompilerJar()
|
||||
|
||||
kotlinPluginJar()
|
||||
|
||||
kotlinReflectJar()
|
||||
@@ -187,6 +189,9 @@ val jarArtifactProjects = listOf(
|
||||
"kotlin-reflect"
|
||||
)
|
||||
|
||||
fun NamedDomainObjectContainer<TopLevelArtifact>.kotlinCompilerJar() =
|
||||
jarFromProject(project(":kotlin-compiler"), "kotlin-compiler.jar")
|
||||
|
||||
fun NamedDomainObjectContainer<TopLevelArtifact>.kotlinReflectJar() =
|
||||
jarFromProject(project(":kotlin-reflect"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user