https://kotlinlang.org logo
#javascript
Title
# javascript
j

Jonathan Ellis

07/21/2022, 2:18 PM
Is there an easy fix for this? I'm just using the [multiplatform] build.gradle.kts that intellij generated for me, my level of gradle sophistication is "copy and paste from stackoverflow"
Execution optimizations have been disabled for task ':jsBrowserProductionRun' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: 'E:\Projects\sketches-js\build\js\packages\sketches-js\kotlin\sketches-js.js'. Reason: Task ':jsBrowserProductionRun' uses this output of task ':jsProductionExecutableCompileSync' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
e

edwinRNDR

07/22/2022, 8:40 AM
Copy code
kotlin {
    js(IR) {
        browser {
            runTask {
                [...]
                dependsOn(":developmentExecutableCompileSync")
            }
        }
        [...]
    }
}
made it go away for me
7 Views