[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:
committed by
TeamCityServer
parent
504ccbad88
commit
e933c7b6d9
@@ -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())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user