[Build] Remove testApi(intellijDep()) dependencies from all modules

Since IDEA moved most of it's jars to java 11 it's illegal to use them
  in our dependencies, so all modules which use `intellijDep()` should
  carefully specify which jars they use
This commit is contained in:
Dmitriy Novozhilov
2021-09-27 16:51:18 +03:00
committed by TeamCityServer
parent 504ccbad88
commit e933c7b6d9
21 changed files with 68 additions and 50 deletions
+1 -2
View File
@@ -8,11 +8,10 @@ plugins {
dependencies {
testApi(project(":kotlin-scripting-compiler"))
testApi(projectTests(":compiler:tests-common"))
testCompileOnly(intellijCoreDep()) { includeJars("intellij-core") }
testImplementation(intellijCoreDep()) { includeJars("intellij-core") }
testApi(projectTests(":generators:test-generator"))
testRuntimeOnly(project(":kotlin-reflect"))
testRuntimeOnly(toolsJar())
testRuntimeOnly(intellijDep())
testRuntimeOnly(intellijPluginDep("java"))
if (isIdeaActive) testRuntimeOnly(files("${rootProject.projectDir}/dist/kotlinc/lib/kotlin-reflect.jar"))
}