From 72fdb47f1305e16912926b9a4b0968add1c5b54b Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Mon, 22 Jul 2019 16:15:20 +0300 Subject: [PATCH] Fix maven import tests by adding java-ide-customization dependency [KT-32833] Need java-ide-customization because of JavaAwareModuleTypeManagerImpl registration. Otherwise there were two instances of JavaModuleType that were not equal and that prevented facets creating after Maven project importing. #KT-32833 Fixed --- idea/idea-maven/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/idea/idea-maven/build.gradle.kts b/idea/idea-maven/build.gradle.kts index 3a2bfee45b0..b04dee574a1 100644 --- a/idea/idea-maven/build.gradle.kts +++ b/idea/idea-maven/build.gradle.kts @@ -1,4 +1,3 @@ - plugins { kotlin("jvm") id("jps-compatible") @@ -22,7 +21,8 @@ dependencies { Platform[192].orHigher { compileOnly(intellijPluginDep("java")) testCompileOnly(intellijPluginDep("java")) - testRuntime(intellijPluginDep("java")) + testRuntimeOnly(intellijPluginDep("java")) + testRuntimeOnly(intellijPluginDep("java-ide-customization")) } excludeInAndroidStudio(rootProject) { compileOnly(intellijPluginDep("maven")) }