From 8e53ccb8521f8cd94839d43d0f3997fbc0eab03b Mon Sep 17 00:00:00 2001 From: Roman Golyshev Date: Mon, 16 Dec 2019 14:28:43 +0300 Subject: [PATCH] Add ML completion jar to the resulting plugin jar - Without it, ML completion jar will not be present in the runtime, causing errors when ML completion is enabled - This step should have been done in 28ec74648efcec4dffdaf85f55c3761b1e38e644 commit --- prepare/idea-plugin/build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/prepare/idea-plugin/build.gradle.kts b/prepare/idea-plugin/build.gradle.kts index 0649bcec433..32b33c62c84 100644 --- a/prepare/idea-plugin/build.gradle.kts +++ b/prepare/idea-plugin/build.gradle.kts @@ -142,6 +142,10 @@ dependencies { libraries(kotlinStdlib("jdk8")) + Platform[193].orHigher { + libraries(commonDep("org.jetbrains.intellij.deps.completion", "completion-ranking-kotlin")) + } + libraryProjects.forEach { libraries(project(it)) { isTransitive = false } }