bundle Kotlin plugin with IDEA, use bundled runtime from plugin
[idea/community.git] / build / scripts / layouts.gant
index 7d8cc30070c0a09db3fff52eefbd21fa07ee242c..31f0f876af5d157feb8209cf8b8b3ac5d7776333 100644 (file)
@@ -592,6 +592,10 @@ public def layoutCommunityPlugins(String home) {
         }
       }
     }
+
+    pluginDir("Kotlin") {
+      fileset(dir: "${home}/build/kotlinc/plugin/Kotlin")
+    }
   }
 }
 
@@ -692,6 +696,7 @@ def reorder(String home, String targetDirectory) {
     arg(value: "${home}/lib")
     classpath {
       projectBuilder.moduleRuntimeClasspath(findModule("util"), false).each {
+        println(it)
         pathelement(location: it)
       }
     }