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
Original commit: 0db69cadb6
This commit is contained in:
@@ -48,6 +48,7 @@ dependencies {
|
|||||||
testRuntimeOnly(intellijPluginDep("java"))
|
testRuntimeOnly(intellijPluginDep("java"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
testRuntimeOnly(toolsJar())
|
||||||
testRuntime(project(":kotlin-reflect"))
|
testRuntime(project(":kotlin-reflect"))
|
||||||
testRuntime(project(":kotlin-script-runtime"))
|
testRuntime(project(":kotlin-script-runtime"))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user