diff --git a/prepare/mock-runtime-for-test/build.gradle.kts b/prepare/mock-runtime-for-test/build.gradle.kts index 01b077c37d0..6e4ee448696 100644 --- a/prepare/mock-runtime-for-test/build.gradle.kts +++ b/prepare/mock-runtime-for-test/build.gradle.kts @@ -47,6 +47,9 @@ tasks.withType { tasks.withType { dependsOn(copySources) + kotlinOptions { + freeCompilerArgs += listOf("-module-name", "kotlin-stdlib") + } } val jar = runtimeJar {