ef169aa12b
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
27 lines
647 B
Kotlin
27 lines
647 B
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
compile(project(":compiler:backend"))
|
|
compile(project(":idea:jvm-debugger:eval4j"))
|
|
compile(project(":idea:idea-core"))
|
|
compile(project(":idea:idea-j2k"))
|
|
compile(project(":idea:jvm-debugger:jvm-debugger-util"))
|
|
|
|
compileOnly(project(":dependencies:tools-jar-api"))
|
|
Platform[192].orHigher {
|
|
compileOnly(intellijPluginDep("java"))
|
|
}
|
|
|
|
compileOnly(intellijDep())
|
|
|
|
testCompile(project(":kotlin-test:kotlin-test-junit"))
|
|
testCompile(commonDep("junit:junit"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { none() }
|
|
} |