[Build] remove dependency on IDEA classes from :visualizer
This commit is contained in:
committed by
teamcityserver
parent
aa3a73c6c2
commit
c6f754cf7a
@@ -6,9 +6,6 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testRuntime(intellijDep())
|
|
||||||
testCompile(intellijCoreDep()) { includeJars("intellij-core") }
|
|
||||||
|
|
||||||
testCompileOnly(project(":compiler:fir:raw-fir:psi2fir"))
|
testCompileOnly(project(":compiler:fir:raw-fir:psi2fir"))
|
||||||
|
|
||||||
testImplementation(project(":compiler:visualizer:render-psi"))
|
testImplementation(project(":compiler:visualizer:render-psi"))
|
||||||
@@ -21,6 +18,14 @@ dependencies {
|
|||||||
testApi(projectTests(":compiler:test-infrastructure"))
|
testApi(projectTests(":compiler:test-infrastructure"))
|
||||||
testApi(projectTests(":compiler:fir:analysis-tests:legacy-fir-tests"))
|
testApi(projectTests(":compiler:fir:analysis-tests:legacy-fir-tests"))
|
||||||
testImplementation(projectTests(":generators:test-generator"))
|
testImplementation(projectTests(":generators:test-generator"))
|
||||||
|
|
||||||
|
Platform[202] {
|
||||||
|
testRuntimeOnly(intellijDep()) { includeJars("intellij-deps-fastutil-8.3.1-1") }
|
||||||
|
}
|
||||||
|
Platform[203].orHigher {
|
||||||
|
testRuntimeOnly(intellijDep()) { includeJars("intellij-deps-fastutil-8.4.1-4") }
|
||||||
|
}
|
||||||
|
testRuntimeOnly(compile(intellijDep()) { includeJars("jna", rootProject = rootProject) })
|
||||||
}
|
}
|
||||||
|
|
||||||
val generationRoot = projectDir.resolve("tests-gen")
|
val generationRoot = projectDir.resolve("tests-gen")
|
||||||
@@ -48,4 +53,4 @@ projectTest(parallel = true, jUnit5Enabled = true) {
|
|||||||
|
|
||||||
testsJar()
|
testsJar()
|
||||||
|
|
||||||
val generateVisualizerTests by generator("org.jetbrains.kotlin.visualizer.GenerateVisualizerTestsKt")
|
val generateVisualizerTests by generator("org.jetbrains.kotlin.visualizer.GenerateVisualizerTestsKt")
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ plugins {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile(project(":compiler:visualizer:common"))
|
compile(project(":compiler:visualizer:common"))
|
||||||
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
compile(intellijCoreDep()) { includeJars("intellij-core") }
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
|||||||
Reference in New Issue
Block a user