diff --git a/jps/jps-plugin/build.gradle.kts b/jps/jps-plugin/build.gradle.kts index b3761e13a91..cc33028f21c 100644 --- a/jps/jps-plugin/build.gradle.kts +++ b/jps/jps-plugin/build.gradle.kts @@ -18,8 +18,11 @@ dependencies { compile(project(":js:js.frontend")) compile(projectRuntimeJar(":kotlin-preloader")) compile(project(":idea:idea-jps-common")) + Platform[193].orLower { + compileOnly(intellijDep()) { includeJars("openapi", rootProject = rootProject) } + } compileOnly(intellijDep()) { - includeJars("jdom", "trove4j", "jps-model", "openapi", "platform-api", "util", "asm-all", rootProject = rootProject) + includeJars("jdom", "trove4j", "jps-model", "platform-api", "util", "asm-all", rootProject = rootProject) } compileOnly(jpsStandalone()) { includeJars("jps-builders", "jps-builders-6") } testCompileOnly(project(":kotlin-reflect-api"))