From 8b1e8995edb4ea33c9ad01ad2f19db6c3fb68fe5 Mon Sep 17 00:00:00 2001 From: Vyacheslav Gerasimov Date: Wed, 5 Feb 2020 20:31:54 +0300 Subject: [PATCH] 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: 0db69cadb60b866ff189098b2033f80ad2af7f49 --- jps/jps-plugin/build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/jps/jps-plugin/build.gradle.kts b/jps/jps-plugin/build.gradle.kts index cc33028f21c..fa47a71a2f4 100644 --- a/jps/jps-plugin/build.gradle.kts +++ b/jps/jps-plugin/build.gradle.kts @@ -48,6 +48,7 @@ dependencies { testRuntimeOnly(intellijPluginDep("java")) } + testRuntimeOnly(toolsJar()) testRuntime(project(":kotlin-reflect")) testRuntime(project(":kotlin-script-runtime")) }