Skip to content

Commit 2b62f6d

Browse files
committed
MPP: Workaround for KT-22028 in kotlin-dce-js plugin
1 parent decbc83 commit 2b62f6d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

js/example-frontend-js/build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,10 @@ task bundle(type: NpmTask, dependsOn: [npmInstall, runDceKotlinJs]) {
3939

4040
task start(type: NpmTask, dependsOn: bundle) {
4141
args = ["run", "start"]
42-
}
42+
}
43+
44+
// we have not tests but kotlin-dce-js still tries to work with them and crashed.
45+
// todo: Remove when KT-22028 is fixed
46+
afterEvaluate {
47+
tasks.unpackDependenciesTestKotlinJs.enabled = false
48+
}

0 commit comments

Comments
 (0)