From 70ff3d36d0307fe4123edf07bc201afdf3ed679b Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Tue, 24 Dec 2019 18:46:34 +0300 Subject: [PATCH] Fix running tests in compiler plugins --- compiler/tests-common/build.gradle.kts | 1 + plugins/allopen/allopen-cli/build.gradle.kts | 5 ----- plugins/noarg/noarg-cli/build.gradle.kts | 8 -------- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/compiler/tests-common/build.gradle.kts b/compiler/tests-common/build.gradle.kts index 669f5bde6cb..27cb636ec44 100644 --- a/compiler/tests-common/build.gradle.kts +++ b/compiler/tests-common/build.gradle.kts @@ -67,6 +67,7 @@ dependencies { Platform[192].orHigher { testCompile(intellijDep()) { includeJars("platform-util-ui", "platform-concurrency", "platform-objectSerializer") } + testCompile(intellijDep("java")) } Platform[193].orHigher { diff --git a/plugins/allopen/allopen-cli/build.gradle.kts b/plugins/allopen/allopen-cli/build.gradle.kts index 2a276d1e479..c93381e1cea 100644 --- a/plugins/allopen/allopen-cli/build.gradle.kts +++ b/plugins/allopen/allopen-cli/build.gradle.kts @@ -13,11 +13,6 @@ dependencies { runtime(kotlinStdlib()) - testRuntimeOnly(intellijDep()) { - includeJars("guava", rootProject = rootProject) - } - - testRuntimeOnly(project(":kotlin-compiler")) Platform[192].orHigher { testRuntimeOnly(intellijDep()) { includeJars("platform-concurrency") } } diff --git a/plugins/noarg/noarg-cli/build.gradle.kts b/plugins/noarg/noarg-cli/build.gradle.kts index 5a700dd8a4f..b8e8c3e8456 100644 --- a/plugins/noarg/noarg-cli/build.gradle.kts +++ b/plugins/noarg/noarg-cli/build.gradle.kts @@ -15,15 +15,7 @@ dependencies { compileOnly(intellijCoreDep()) { includeJars("intellij-core") } compileOnly(intellijDep()) { includeJars("asm-all", rootProject = rootProject) } runtime(kotlinStdlib()) - testRuntimeOnly(intellijDep()) { - includeJars("guava", rootProject = rootProject) - } - testRuntimeOnly(project(":kotlin-compiler")) - Platform[192].orHigher { - testRuntimeOnly(intellijDep()) { includeJars("platform-concurrency") } - } - testCompile(project(":compiler:backend")) testCompile(project(":compiler:cli")) testCompile(projectTests(":compiler:tests-common"))