From b3226b9b78c7194ff85aaac98658474e87ab6f06 Mon Sep 17 00:00:00 2001 From: Ilya Kirillov Date: Mon, 9 Oct 2023 21:31:51 +0200 Subject: [PATCH] [build] do not build `kotlin-compiler-for-ide` as it's unused in the IDE Plugin --- build.gradle.kts | 1 - .../kotlin-compiler-for-ide/build.gradle.kts | 35 ------------------- settings.gradle | 1 - 3 files changed, 37 deletions(-) delete mode 100644 prepare/ide-plugin-dependencies/kotlin-compiler-for-ide/build.gradle.kts diff --git a/build.gradle.kts b/build.gradle.kts index 3179a945370..2a574d0305c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -290,7 +290,6 @@ extra["compilerArtifactsForIde"] = listOfNotNull( ":prepare:ide-plugin-dependencies:incremental-compilation-impl-tests-for-ide", ":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:kotlin-jps-common-for-ide", diff --git a/prepare/ide-plugin-dependencies/kotlin-compiler-for-ide/build.gradle.kts b/prepare/ide-plugin-dependencies/kotlin-compiler-for-ide/build.gradle.kts deleted file mode 100644 index ac25a5e360f..00000000000 --- a/prepare/ide-plugin-dependencies/kotlin-compiler-for-ide/build.gradle.kts +++ /dev/null @@ -1,35 +0,0 @@ -/* - This artifact is deprecated should be used only for compatibility reasons for existing IDE branches like kt-211-master, kt-203-master - kotlin-compiler-for-ide was split into multiple jars: kotlin-compiler-fe10-for-ide, kotlin-compiler-common-for-ide, kotlin-compiler-fir-for-ide, etc - For kt-212-master IDE branch and newer split compiler jars should be used: - */ - -plugins { - kotlin("jvm") -} - -val compilerModules: Array by rootProject.extra - -val excludedCompilerModules = listOf( - ":compiler:cli", - ":compiler:cli-js", - ":compiler:javac-wrapper", - ":compiler:backend.js", - ":compiler:backend.wasm", - ":js:js.dce", - ":compiler:ir.serialization.js", - ":compiler:incremental-compilation-impl", - ":compiler:fir:raw-fir:light-tree2fir" -) - -val projects = compilerModules.asList() - excludedCompilerModules + listOf( - ":kotlin-compiler-runner-unshaded", - ":kotlin-preloader", - ":daemon-common", - ":kotlin-daemon-client" -) - -publishJarsForIde( - projects = projects, - libraryDependencies = listOf(protobufFull()) -) diff --git a/settings.gradle b/settings.gradle index 95d5cb647c0..b5ac101152d 100644 --- a/settings.gradle +++ b/settings.gradle @@ -351,7 +351,6 @@ if (!buildProperties.inJpsBuildIdeaSync) { ":prepare:ide-plugin-dependencies:incremental-compilation-impl-tests-for-ide", ":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",