[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
+15 -4
View File
@@ -25,11 +25,22 @@ dependencies {
testApi(projectTests(":compiler:tests-compiler-utils"))
testApi(projectTests(":compiler:tests-common-jvm6"))
testRuntimeOnly(intellijDep()) {
includeJars("jna", rootProject = rootProject)
/*
* Actually those dependencies are needed only at runtime, but they
* declared as Api dependencies to propagate them to all modules
* which depend on current one
*/
testApi(intellijDep()) {
includeJars(
"intellij-deps-fastutil-8.4.1-4",
"idea_rt",
"jps-model",
"platform-impl",
"streamex",
"jna",
rootProject = rootProject
)
}
testRuntimeOnly(intellijDep()) { includeJars("intellij-deps-fastutil-8.4.1-4") }
testRuntimeOnly(toolsJar())
}