Remove CLI and some of daemon-related modules from compiler-for-ide

These modules is not required by the plugin, and the plugin verifier
warns about unsatisfied dependencies of the modules.

CLI is needed in tests so a separate artifact is created instead.
This commit is contained in:
Yan Zhulanow
2021-04-30 19:20:42 +09:00
parent 26f71c33c0
commit e90cc30edb
4 changed files with 11 additions and 4 deletions

View File

@@ -963,6 +963,7 @@ tasks {
":prepare:ide-plugin-dependencies:js-ir-runtime-for-ide",
":prepare:ide-plugin-dependencies:kotlin-build-common-tests-for-ide",
":prepare:ide-plugin-dependencies:kotlin-compiler-for-ide",
":prepare:ide-plugin-dependencies:kotlin-compiler-cli-for-ide",
":prepare:ide-plugin-dependencies:kotlin-gradle-statistics-for-ide",
":prepare:ide-plugin-dependencies:kotlinx-serialization-compiler-plugin-for-ide",
":prepare:ide-plugin-dependencies:noarg-compiler-plugin-for-ide",

View File

@@ -0,0 +1,6 @@
idePluginDependency {
publishProjectJars(listOf(
":compiler:cli",
":compiler:cli-js"
))
}

View File

@@ -2,6 +2,8 @@ idePluginDependency {
val compilerModules: Array<String> by rootProject.extra
val excludedCompilerModules = listOf(
":compiler:cli",
":compiler:cli-js",
":compiler:javac-wrapper",
":compiler:backend.js",
":compiler:backend.wasm",
@@ -15,10 +17,7 @@ idePluginDependency {
":kotlin-compiler-runner",
":kotlin-preloader",
":daemon-common",
":daemon-common-new",
":kotlin-daemon",
":kotlin-daemon-client",
":kotlin-daemon-client-new"
":kotlin-daemon-client"
)
publishProjectJars(

View File

@@ -362,6 +362,7 @@ include ":prepare:ide-plugin-dependencies:android-extensions-compiler-plugin-for
":prepare:ide-plugin-dependencies:js-ir-runtime-for-ide",
":prepare:ide-plugin-dependencies:kotlin-build-common-tests-for-ide",
":prepare:ide-plugin-dependencies:kotlin-compiler-for-ide",
":prepare:ide-plugin-dependencies:kotlin-compiler-cli-for-ide",
":prepare:ide-plugin-dependencies:kotlin-dist-for-ide",
":prepare:ide-plugin-dependencies:kotlin-gradle-statistics-for-ide",
":prepare:ide-plugin-dependencies:kotlinx-serialization-compiler-plugin-for-ide",