From 8b05d4df46cf086b268e4463a9b0414f49782b20 Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Tue, 2 Jul 2019 12:34:09 +0300 Subject: [PATCH] More NoClassDefFoundError fixes in tests after 192 update --- plugins/allopen/allopen-cli/build.gradle.kts | 5 ++++- plugins/noarg/noarg-cli/build.gradle.kts | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/plugins/allopen/allopen-cli/build.gradle.kts b/plugins/allopen/allopen-cli/build.gradle.kts index 2d4dfb5fa8e..10cbbedd636 100644 --- a/plugins/allopen/allopen-cli/build.gradle.kts +++ b/plugins/allopen/allopen-cli/build.gradle.kts @@ -16,8 +16,11 @@ dependencies { 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")) diff --git a/plugins/noarg/noarg-cli/build.gradle.kts b/plugins/noarg/noarg-cli/build.gradle.kts index f857184eb36..a78dea86c92 100644 --- a/plugins/noarg/noarg-cli/build.gradle.kts +++ b/plugins/noarg/noarg-cli/build.gradle.kts @@ -19,6 +19,11 @@ dependencies { 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"))