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 fa76bf61818..69fadea67c4 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 @@ -4,22 +4,16 @@ description = "Kotlin SamWithReceiver Compiler Plugin" apply { plugin("kotlin") } dependencies { - testRuntime(intellijDep()) - compileOnly(project(":compiler:frontend")) compileOnly(project(":compiler:frontend.java")) compileOnly(project(":compiler:plugin-api")) compileOnly(intellijCoreDep()) { includeJars("intellij-core") } - runtime(projectDist(":kotlin-stdlib")) - runtime(projectDist(":kotlin-reflect")) - runtime(projectRuntimeJar(":kotlin-compiler")) testCompile(project(":compiler:backend")) testCompile(project(":compiler:cli")) testCompile(project(":compiler:tests-common")) testCompile(projectTests(":compiler:tests-common")) testCompile(commonDep("junit:junit")) - testCompileOnly(intellijCoreDep()) { includeJars("intellij-core") } } sourceSets { @@ -48,4 +42,7 @@ ideaPlugin { projectTest { dependsOn(":prepare:mock-runtime-for-test:dist") workingDir = rootDir + doFirst { + systemProperty("idea.home.path", intellijRootDir().canonicalPath) + } }