From 69cf454747c5400236c22912e95bf66ff527004d Mon Sep 17 00:00:00 2001 From: Nikita Bobko Date: Wed, 11 May 2022 15:49:49 +0200 Subject: [PATCH] Drop org.jline and org.fusesource.jansi redundant dependencies Reasons: 1. Those modules don't use this dependency 2. Unbundled JPS feature in IDE downloads all transitive dependencies of kotlin-dist-for-jps-meta => downloads org.jline and puts it into dist which is not needed --- compiler/cli/build.gradle.kts | 1 - compiler/daemon/build.gradle.kts | 3 --- plugins/scripting/scripting-compiler/build.gradle.kts | 1 + 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/compiler/cli/build.gradle.kts b/compiler/cli/build.gradle.kts index 54a9c687048..d187d61725e 100644 --- a/compiler/cli/build.gradle.kts +++ b/compiler/cli/build.gradle.kts @@ -21,7 +21,6 @@ dependencies { api(project(":js:js.translator")) api(project(":native:frontend.native")) api(commonDependency("org.fusesource.jansi", "jansi")) - api(commonDependency("org.jline", "jline")) api(project(":compiler:fir:raw-fir:psi2fir")) api(project(":compiler:fir:resolve")) api(project(":compiler:fir:providers")) diff --git a/compiler/daemon/build.gradle.kts b/compiler/daemon/build.gradle.kts index 0d35cee8222..724a47c041d 100644 --- a/compiler/daemon/build.gradle.kts +++ b/compiler/daemon/build.gradle.kts @@ -8,9 +8,6 @@ plugins { val ktorExcludesForDaemon : List> by rootProject.extra dependencies { - api(commonDependency("org.fusesource.jansi", "jansi")) - api(commonDependency("org.jline", "jline")) - compileOnly(project(":compiler:cli")) compileOnly(project(":compiler:cli-js")) compileOnly(project(":compiler:incremental-compilation-impl")) diff --git a/plugins/scripting/scripting-compiler/build.gradle.kts b/plugins/scripting/scripting-compiler/build.gradle.kts index 61a5f4a3cd5..1578b270282 100644 --- a/plugins/scripting/scripting-compiler/build.gradle.kts +++ b/plugins/scripting/scripting-compiler/build.gradle.kts @@ -19,6 +19,7 @@ dependencies { api(project(":kotlin-scripting-jvm")) api(project(":kotlin-scripting-compiler-impl")) api(kotlinStdlib()) + api(commonDependency("org.jline", "jline")) compileOnly(intellijCore()) testApi(project(":compiler:frontend"))