When upgrading to Gradle 8.0.2 in <this sample of ...
# webassembly
s
When upgrading to Gradle 8.0.2 in this sample of KoWasm that has a pretty straightforward Gradle configuration, I get this error:
Copy code
> Task :samples:effekt-sample:wasmBrowserProductionWebpack FAILED

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':samples:effekt-sample:wasmBrowserProductionWebpack' (type 'KotlinWebpack').
  - Gradle detected a problem with the following location: '/home/seb/wasm/kowasm/build/js/packages/kowasm-effekt-sample-wasm'.
    
    Reason: Task ':samples:effekt-sample:wasmBrowserProductionWebpack' uses this output of task ':samples:effekt-sample:wasmDevelopmentExecutableCompileSync' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
    
    Possible solutions:
      1. Declare task ':samples:effekt-sample:wasmDevelopmentExecutableCompileSync' as an input of ':samples:effekt-sample:wasmBrowserProductionWebpack'.
      2. Declare an explicit dependency on ':samples:effekt-sample:wasmDevelopmentExecutableCompileSync' from ':samples:effekt-sample:wasmBrowserProductionWebpack' using Task#dependsOn.
      3. Declare an explicit dependency on ':samples:effekt-sample:wasmDevelopmentExecutableCompileSync' from ':samples:effekt-sample:wasmBrowserProductionWebpack' using Task#mustRunAfter.
    
    Please refer to <https://docs.gradle.org/8.0.2/userguide/validation_problems.html#implicit_dependency> for more details about this problem.
It was producing a warning with Gradle 7.6. Should I create a related issue?
s
Yes please