From 3c7b07b90f4a442040ce705003528a7e42acfcfa Mon Sep 17 00:00:00 2001 From: Nikita Bobko Date: Thu, 3 Jun 2021 15:00:37 +0200 Subject: [PATCH] Include `tests-compiler-utils` into kotlin-compiler-tests-for-ide artifact It fixes: ``` java.lang.NoClassDefFoundError: org/jetbrains/kotlin/fir/FirCfgConsistencyChecker at org.jetbrains.kotlin.test.frontend.fir.handlers.FirCfgConsistencyHandler.processModule(FirCfgConsistencyHandler.kt:15) at org.jetbrains.kotlin.test.frontend.fir.handlers.FirCfgConsistencyHandler.processModule(FirCfgConsistencyHandler.kt:13) at org.jetbrains.kotlin.test.TestRunnerKt.processModule(TestRunner.kt:236) at org.jetbrains.kotlin.test.TestRunnerKt.hackyProcess(TestRunner.kt:231) at org.jetbrains.kotlin.test.TestRunnerKt.access$hackyProcess(TestRunner.kt:1) ``` while running `DiagnosisCompilerTestFE10TestdataTestGenerated.Tests#testBinaryCallsOnNullableValues` (and probably other tests) in new infrastructure --- .../kotlin-compiler-tests-for-ide/build.gradle.kts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/prepare/ide-plugin-dependencies/kotlin-compiler-tests-for-ide/build.gradle.kts b/prepare/ide-plugin-dependencies/kotlin-compiler-tests-for-ide/build.gradle.kts index 829ceb27fde..a661dea9dfd 100644 --- a/prepare/ide-plugin-dependencies/kotlin-compiler-tests-for-ide/build.gradle.kts +++ b/prepare/ide-plugin-dependencies/kotlin-compiler-tests-for-ide/build.gradle.kts @@ -2,4 +2,11 @@ plugins { kotlin("jvm") } -publishTestJarsForIde(listOf(":compiler:test-infrastructure", ":compiler:tests-common-new", ":compiler:test-infrastructure-utils")) +publishTestJarsForIde( + listOf( + ":compiler:test-infrastructure", + ":compiler:tests-common-new", + ":compiler:test-infrastructure-utils", + ":compiler:tests-compiler-utils" + ) +)