[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 -1
View File
@@ -18,7 +18,7 @@ dependencies {
testApi(projectTests(":compiler:tests-common"))
testApi(commonDep("junit:junit"))
testRuntimeOnly(intellijCoreDep()) { includeJars("intellij-core") }
testApi(intellijCoreDep()) { includeJars("intellij-core") }
}
sourceSets {
+2 -1
View File
@@ -38,6 +38,7 @@ dependencies {
compileOnly(intellijCoreDep()) { includeJars("intellij-core", "asm-all", rootProject = rootProject) }
testApi(intellijDep()) { includeJars("platform-impl", rootProject = rootProject) }
testRuntimeOnly(intellijCoreDep()) { includeJars("intellij-core") }
testRuntimeOnly(project(":kotlin-compiler"))
@@ -70,4 +71,4 @@ projectTest(parallel = true) {
dependsOn(shadowJar)
}
testsJar()
testsJar()
+1 -2
View File
@@ -21,8 +21,7 @@ dependencies {
testApi(project(":compiler:cli"))
testApi(projectTests(":compiler:tests-common"))
testApi(commonDep("junit:junit"))
testRuntimeOnly(intellijCoreDep()) { includeJars("intellij-core") }
testApi(intellijCoreDep()) { includeJars("intellij-core")}
}
sourceSets {