Skip to content

Commit 04e8ce5

Browse files
authored
[web] Add --no-parallel flag for building web demos (JetBrains#2894)
This is minimal temporary fix for circumventing troubles with ``` Configuration cache state could not be cached: field `__packageJsonFiles__` of task `:wasmRootPackageJson` of type `org.jetbrains.kotlin.gradle.targets.js.npm.tasks.RootPackageJsonTask`: error writing value of type 'org.gradle.api.internal.provider.DefaultListProperty' > Resolution of the configuration ':compose:runtime:runtime-test-utils:wasmJsTestNpmAggregated' was attempted without an exclusive lock. This is unsafe and not allowed. ``` ## Testing Run "wasm Demo" or "js Demo" configuration ## Release Notes N/A
1 parent 5ea80b8 commit 04e8ce5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.run/mpp/demo/js-Demo.run.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<option name="executionName" />
2121
<option name="externalProjectPath" value="$PROJECT_DIR$/compose/mpp/demo" />
2222
<option name="externalSystemIdString" value="GRADLE" />
23-
<option name="scriptParameters" value="" />
23+
<option name="scriptParameters" value="--no-parallel" />
2424
<option name="taskDescriptions">
2525
<list />
2626
</option>

.run/mpp/demo/wasm-Demo.run.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<option name="executionName" />
55
<option name="externalProjectPath" value="$PROJECT_DIR$/compose/mpp/demo" />
66
<option name="externalSystemIdString" value="GRADLE" />
7-
<option name="scriptParameters" value="" />
7+
<option name="scriptParameters" value="--no-parallel" />
88
<option name="taskDescriptions">
99
<list />
1010
</option>

0 commit comments

Comments
 (0)