Introduce kotlin-jps-plugin and deprecate kotlin-jps-plugin-classpath
`kotlin-jps-plugin-classpath` isn't dropped because, in some places, IDE depends on the old artifact so I want to keep it for a while until I cleanup IDE completely. I tried to put as much libraries into `kotlinJpsPluginMavenDependencies` as possible in the previous commit. Right now, `kotlin-jps-plugin-classpath` is 33Mb, `kotlin-jps-plugin` is 20Mb (all are not compresed)
This commit is contained in:
@@ -319,6 +319,7 @@ extra["compilerArtifactsForIde"] = listOfNotNull(
|
|||||||
":prepare:ide-plugin-dependencies:kotlin-compiler-common-for-ide",
|
":prepare:ide-plugin-dependencies:kotlin-compiler-common-for-ide",
|
||||||
":prepare:ide-plugin-dependencies:kotlin-compiler-fe10-for-ide",
|
":prepare:ide-plugin-dependencies:kotlin-compiler-fe10-for-ide",
|
||||||
":prepare:ide-plugin-dependencies:kotlin-compiler-fir-for-ide",
|
":prepare:ide-plugin-dependencies:kotlin-compiler-fir-for-ide",
|
||||||
|
":prepare:kotlin-jps-plugin",
|
||||||
":kotlin-script-runtime",
|
":kotlin-script-runtime",
|
||||||
":kotlin-script-util",
|
":kotlin-script-util",
|
||||||
":kotlin-scripting-common",
|
":kotlin-scripting-common",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// This artifact is deprecated and will be remove in the near future. Use `kotlin-jps-plugin` instead
|
||||||
idePluginDependency {
|
idePluginDependency {
|
||||||
@Suppress("UNCHECKED_CAST")
|
@Suppress("UNCHECKED_CAST")
|
||||||
val embeddedDependencies = rootProject.extra["kotlinJpsPluginEmbeddedDependencies"] as List<String>
|
val embeddedDependencies = rootProject.extra["kotlinJpsPluginEmbeddedDependencies"] as List<String>
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
plugins {
|
||||||
|
`java-library`
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
rootProject.extra["kotlinJpsPluginMavenDependencies"]
|
||||||
|
.let { it as List<String> }
|
||||||
|
.forEach { implementation(project(it)) }
|
||||||
|
}
|
||||||
|
|
||||||
|
@Suppress("UNCHECKED_CAST")
|
||||||
|
val embeddedDependencies = rootProject.extra["kotlinJpsPluginEmbeddedDependencies"] as List<String>
|
||||||
|
publishProjectJars(embeddedDependencies + listOf(":jps:jps-plugin", ":jps:jps-common"), libraryDependencies = listOf(protobufFull()))
|
||||||
@@ -533,6 +533,7 @@ if (attachedIntellijVersion == "master") {
|
|||||||
|
|
||||||
include ":jps:jps-common",
|
include ":jps:jps-common",
|
||||||
":jps:jps-plugin",
|
":jps:jps-plugin",
|
||||||
|
":prepare:kotlin-jps-plugin",
|
||||||
":jps:jps-platform-api-signatures"
|
":jps:jps-platform-api-signatures"
|
||||||
|
|
||||||
include ":generators:analysis-api-generator",
|
include ":generators:analysis-api-generator",
|
||||||
|
|||||||
Reference in New Issue
Block a user