Build: Use preprocessed tools.jar for compilation
tools.jar from JDK has different public api on different platforms which makes impossible to reuse caches for tasks which depend on it. Since we can't compile against those classes & stay cross-platform anyway, we may just exclude them from compile classpath. This should make tools.jar compatible at least within one build of JDK for different platforms
This commit is contained in:
@@ -30,7 +30,7 @@ dependencies {
|
||||
compile(project(":kotlin-util-io"))
|
||||
compile(project(":compiler:ir.serialization.common"))
|
||||
|
||||
compileOnly(toolsJar())
|
||||
compileOnly(project(":dependencies:tools-jar-api"))
|
||||
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
||||
compileOnly(intellijDep()) { includeIntellijCoreJarDependencies(project) }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user