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:
@@ -1,3 +1,4 @@
|
||||
// This artifact is deprecated and will be remove in the near future. Use `kotlin-jps-plugin` instead
|
||||
idePluginDependency {
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
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()))
|
||||
Reference in New Issue
Block a user