[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
+5 -4
View File
@@ -9,12 +9,13 @@ dependencies {
testImplementation(projectTests(":compiler:tests-common-new"))
testApi(intellijDep()) {
includeJars("groovy", "groovy-xml", rootProject = rootProject)
}
testApi(intellijDep()) {
includeJars("gson", rootProject = rootProject)
includeJars("gson", "groovy", "groovy-xml", rootProject = rootProject)
}
testCompileOnly(intellijCoreDep()) { includeJars("intellij-core") }
testRuntimeOnly(intellijDep()) {
includeJars("streamex", rootProject = rootProject)
}
testRuntimeOnly(intellijPluginDep("java"))
api("org.jsoup:jsoup:1.14.2")
if (isIdeaActive) testRuntimeOnly(files("${rootProject.projectDir}/dist/kotlinc/lib/kotlin-reflect.jar"))