From a36d84adc9c41e722bed371ecbed60cffdc6d5f5 Mon Sep 17 00:00:00 2001 From: Ilya Goncharov Date: Mon, 8 Aug 2022 15:51:09 +0200 Subject: [PATCH] [JS, IR] Fix test #10 --- .../org/jetbrains/kotlin/gradle/Kotlin2JsGradlePluginIT.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/Kotlin2JsGradlePluginIT.kt b/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/Kotlin2JsGradlePluginIT.kt index 975bc00d9e9d2..941e0592cb269 100644 --- a/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/Kotlin2JsGradlePluginIT.kt +++ b/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/Kotlin2JsGradlePluginIT.kt @@ -371,7 +371,7 @@ class Kotlin2JsGradlePluginIT : AbstractKotlin2JsGradlePluginIT(false) { val baseBuildscript = baseSubproject.buildGradleKts val libBuildscript = libSubproject.buildGradleKts baseBuildscript.modify { - it.replace("js(\"both\")", "js(\"both\") { moduleName = \"base2\" }") + it.replace("js(\"both\")", "js(\"both\") { (this as org.jetbrains.kotlin.gradle.targets.js.ir.KotlinJsIrTarget).legacyTarget?.moduleName = \"base2\" }") } libBuildscript.modify { it.replace("implementation(project(\":base\"))", "implementation(files(\"${normalizePath(originalBaseJar.toString())}\"))")