diff --git a/plugins/sam-with-receiver/sam-with-receiver-cli/build.gradle.kts b/plugins/sam-with-receiver/sam-with-receiver-cli/build.gradle.kts index 28b42b5b0bc..4c319582997 100644 --- a/plugins/sam-with-receiver/sam-with-receiver-cli/build.gradle.kts +++ b/plugins/sam-with-receiver/sam-with-receiver-cli/build.gradle.kts @@ -18,6 +18,7 @@ dependencies { testCompile(projectTests(":compiler:tests-common")) testCompile(commonDep("junit:junit")) testCompileOnly(project(":kotlin-compiler")) + testCompileOnly(intellijCoreDep()) { includeJars("intellij-core") } testCompile(project(":kotlin-scripting-jvm-host-unshaded")) testRuntimeOnly(intellijCoreDep()) { includeJars("intellij-core") }