From f489ac1d034f2d7d2837d9fd3a4a93e33b1e33c6 Mon Sep 17 00:00:00 2001 From: Yan Zhulanow Date: Thu, 9 Apr 2020 18:33:03 +0900 Subject: [PATCH] Fix compatibility with 202 IDEA branch (dependencies) --- idea/idea-maven/build.gradle.kts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/idea/idea-maven/build.gradle.kts b/idea/idea-maven/build.gradle.kts index 4ca60cc500a..5bca6343765 100644 --- a/idea/idea-maven/build.gradle.kts +++ b/idea/idea-maven/build.gradle.kts @@ -27,6 +27,12 @@ dependencies { excludeInAndroidStudio(rootProject) { compileOnly(intellijPluginDep("maven")) } + excludeInAndroidStudio(rootProject) { + Platform[202].orHigher { + compileOnly(intellijPluginDep("maven-model")) + } + } + testCompile(projectTests(":idea")) testCompile(projectTests(":compiler:tests-common")) testCompile(projectTests(":idea:idea-test-framework")) @@ -36,6 +42,11 @@ dependencies { testCompileOnly(intellijPluginDep("maven")) testRuntime(intellijPluginDep("maven")) + Platform[202].orHigher { + testCompileOnly(intellijPluginDep("maven-model")) + testRuntime(intellijPluginDep("maven-model")) + } + if (Ide.IJ201.orHigher()) { testRuntime(intellijPluginDep("repository-search")) }