From 2d5b50531df56b7c93c5a8c3b96a08113b254efa Mon Sep 17 00:00:00 2001 From: Ilya Kirillov Date: Thu, 11 Jun 2020 12:43:49 +0300 Subject: [PATCH] FIR IDE: fix AbstractFirLazyResolveTest It uses fir reference implementations which are not in the classpath --- .../idea-fir-low-level-api/build.gradle.kts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/idea/idea-frontend-fir/idea-fir-low-level-api/build.gradle.kts b/idea/idea-frontend-fir/idea-fir-low-level-api/build.gradle.kts index eb6cb72bbe2..c23766f6884 100644 --- a/idea/idea-frontend-fir/idea-fir-low-level-api/build.gradle.kts +++ b/idea/idea-frontend-fir/idea-fir-low-level-api/build.gradle.kts @@ -20,6 +20,10 @@ dependencies { compile(project(":idea:idea-core")) // +// `AbstractFirLazyResolveTest` uses fir implementation of references which are not in classpath otherwise + testRuntimeOnly(project(":idea:idea-frontend-fir")) +// + testCompile(toolsJar()) testCompile(projectTests(":idea")) testCompile(projectTests(":compiler:tests-common")) @@ -37,7 +41,7 @@ sourceSets { "test" { projectDefault() } } -if (rootProject.findProperty("idea.fir.plugin") == "true") { +if (rootProject.findProperty("idea.fir.plugin") == "true") { projectTest { dependsOn(":dist") workingDir = rootDir