From d7b9f38d19cadf66afa18fff1b30cd51c405e616 Mon Sep 17 00:00:00 2001 From: nik Date: Tue, 8 Aug 2017 18:06:01 +0300 Subject: [PATCH] build scripts: remove dependency on Kotlin library Build scripts dynamically add Kotlin compiler JARs into classpath so if a build scripts module depends on KotlinJavaRuntime library it may end up with Kotlin JARs from two different version of Kotlin in classpath and compilation may fail (IDEA-177205). To fix the problem Kotlin files were extracted into a separate 'images-build-scripts' module and KotlinJavaRuntime library was removed from dependencies of build script modules. This won't be needed when we change build scripts to start compilation in a separate process. --- .idea/modules.xml | 1 + community-main.iml | 1 + .../icons/images-build-scripts.iml | 18 ++++++++++++++++++ .../build-scripts/platform-build-scripts.iml | 3 --- 4 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 platform/build-scripts/icons/images-build-scripts.iml diff --git a/.idea/modules.xml b/.idea/modules.xml index 7d75daf3b055..f0b982ae9579 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -119,6 +119,7 @@ + diff --git a/community-main.iml b/community-main.iml index c7114369d60e..f3fdf6e1e7d0 100644 --- a/community-main.iml +++ b/community-main.iml @@ -122,6 +122,7 @@ + diff --git a/platform/build-scripts/icons/images-build-scripts.iml b/platform/build-scripts/icons/images-build-scripts.iml new file mode 100644 index 000000000000..d8855041fe1b --- /dev/null +++ b/platform/build-scripts/icons/images-build-scripts.iml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/platform/build-scripts/platform-build-scripts.iml b/platform/build-scripts/platform-build-scripts.iml index 58d178acfe45..27b570b7b563 100644 --- a/platform/build-scripts/platform-build-scripts.iml +++ b/platform/build-scripts/platform-build-scripts.iml @@ -4,8 +4,6 @@ - - @@ -36,7 +34,6 @@ - \ No newline at end of file