From f2d649a7a19526f1eba59be60eb1fbbf3c91b7e9 Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Mon, 13 Dec 2021 12:42:47 +0300 Subject: [PATCH] Add dependency on dist for fir-plugin-prototype > FirPluginDiagnosticTestGenerated$MemberGen.testClassWithCompanionObject > java.lang.IllegalStateException: dist/kotlin-stdlib-jvm-minimal-for-test.jar does not exist. Run 'gradlew dist' --- plugins/fir-plugin-prototype/build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/fir-plugin-prototype/build.gradle.kts b/plugins/fir-plugin-prototype/build.gradle.kts index 32ae14e2fe0..5001d94350d 100644 --- a/plugins/fir-plugin-prototype/build.gradle.kts +++ b/plugins/fir-plugin-prototype/build.gradle.kts @@ -62,6 +62,7 @@ if (kotlinBuildProperties.isInJpsBuildIdeaSync) { } projectTest(parallel = true, jUnitMode = JUnitMode.JUnit5) { + dependsOn(":dist") workingDir = rootDir useJUnitPlatform() jvmArgs!!.removeIf { it.contains("-Xmx") }