[Gradle, JS] Fix test for old kotlin2js plugin
This commit is contained in:
+4
-1
@@ -862,7 +862,10 @@ class NewMultiplatformIT : BaseGradleIT() {
|
|||||||
val repoDir = with(Project("sample-lib", gradleVersion, "new-mpp-lib-and-app")) {
|
val repoDir = with(Project("sample-lib", gradleVersion, "new-mpp-lib-and-app")) {
|
||||||
setupWorkingDir()
|
setupWorkingDir()
|
||||||
projectDir.resolve("settings.gradle").modify { it.replace("enableFeaturePreview", "// enableFeaturePreview") }
|
projectDir.resolve("settings.gradle").modify { it.replace("enableFeaturePreview", "// enableFeaturePreview") }
|
||||||
build("publish") { assertSuccessful() }
|
build(
|
||||||
|
"publish",
|
||||||
|
options = defaultBuildOptions().copy(jsMode = JsMode.LEGACY)
|
||||||
|
) { assertSuccessful() }
|
||||||
projectDir.resolve("repo")
|
projectDir.resolve("repo")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user