Build: Make all compile dependencies on toolsJar compileOnly

tools.jar differs between different versions of JDK reducing cache reuse
so better to not leak it to other modules
This commit is contained in:
Vyacheslav Gerasimov
2020-02-05 20:31:54 +03:00
parent 8e0f403f02
commit 0db69cadb6
21 changed files with 34 additions and 10 deletions
+1
View File
@@ -11,6 +11,7 @@ dependencies {
testCompileOnly(intellijCoreDep()) { includeJars("intellij-core") }
testCompile(projectTests(":generators:test-generator"))
testRuntime(project(":kotlin-reflect"))
testRuntimeOnly(toolsJar())
testRuntime(intellijDep())
Platform[192].orHigher {
testRuntimeOnly(intellijPluginDep("java"))