diff --git a/prepare/ide-plugin-dependencies/kotlin-dist-for-ide/build.gradle.kts b/prepare/ide-plugin-dependencies/kotlin-dist-for-ide/build.gradle.kts index 745de464113..95857d0b4f8 100644 --- a/prepare/ide-plugin-dependencies/kotlin-dist-for-ide/build.gradle.kts +++ b/prepare/ide-plugin-dependencies/kotlin-dist-for-ide/build.gradle.kts @@ -8,12 +8,15 @@ idePluginDependency { val jar: Jar by tasks jar.apply { - dependsOn(":kotlin-compiler:distKotlinc") -// from { -// val distKotlincTask = project(":kotlin-compiler").tasks.getByName("distKotlinc") -// (distKotlincTask) -// } + val compilerProjectName = ":kotlin-compiler" + val distTaskName = "distKotlinc" + dependsOn("$compilerProjectName:$distTaskName") + + from { + val distKotlincTask = project(compilerProjectName).tasks.getByName(distTaskName) + distKotlincTask.outputs.files + } } sourcesJar()