standalone JPS distribution: extract 'java-runtime' module to a separate JAR

This is needed to ensure that the whole jps-builders.jar won't be added to classpath when javac process is forked. Otherwise the classpath will include *.class files which aren't compatible with Java 6, and it'll lead to exceptions if javac from JDK 1.6 is used for compilation.
This commit is contained in:
nik
2017-03-03 11:30:03 +03:00
parent a43bb1f4f9
commit 5ac1db14f0
+2
View File
@@ -44,6 +44,8 @@ def layoutJps(String home, String targetDir, String buildNumber, Closure additio
module("javac-ref-scanner-8")
module("jps-builders")
module("jps-standalone-builder")
}
jar("idea_rt.jar") {
module("java-runtime")
}
jar("jps-builders-6.jar") {