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:
@@ -97,6 +97,7 @@ dependencies {
|
||||
compileOnly(intellijPluginDep("java-i18n"))
|
||||
compileOnly(intellijPluginDep("gradle"))
|
||||
|
||||
testCompileOnly(toolsJar())
|
||||
testCompileOnly(project(":kotlin-reflect-api")) // TODO: fix import (workaround for jps build)
|
||||
testCompile(project(":kotlin-test:kotlin-test-junit"))
|
||||
testCompile(projectTests(":compiler:tests-common"))
|
||||
@@ -109,8 +110,8 @@ dependencies {
|
||||
testCompile(commonDep("junit:junit"))
|
||||
testCompileOnly(intellijPluginDep("coverage"))
|
||||
|
||||
testRuntimeOnly(toolsJar())
|
||||
testRuntime(project(":native:kotlin-native-utils")) { isTransitive = false }
|
||||
|
||||
testRuntime(commonDep("org.jetbrains", "markdown"))
|
||||
testRuntime(project(":plugins:kapt3-idea")) { isTransitive = false }
|
||||
testRuntime(project(":kotlin-reflect"))
|
||||
|
||||
Reference in New Issue
Block a user