martmists
05/21/2025, 10:14 AM* What went wrong:
A problem was found with the configuration of task ':site-frontend:webProductionExecutableCompileSync' (type 'DefaultIncrementalSyncTask').
- Gradle detected a problem with the following location: '/home/mart/nintendo-posts/build/js/packages/nintendo-today-site-site-frontend-web/kotlin'.
Reason: Task ':site-frontend:webBrowserDevelopmentWebpack' uses this output of task ':site-frontend:webProductionExecutableCompileSync' 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 ':site-frontend:webProductionExecutableCompileSync' as an input of ':site-frontend:webBrowserDevelopmentWebpack'.
2. Declare an explicit dependency on ':site-frontend:webProductionExecutableCompileSync' from ':site-frontend:webBrowserDevelopmentWebpack' using Task#dependsOn.
3. Declare an explicit dependency on ':site-frontend:webProductionExecutableCompileSync' from ':site-frontend:webBrowserDevelopmentWebpack' using Task#mustRunAfter.
For more information, please refer to <https://docs.gradle.org/8.11/userguide/validation_problems.html#implicit_dependency> in the Gradle documentation.
From what I can tell I touch neither of these tasks in my build.gradle.kts, nor do I touch those generated files.mbonnin
05/21/2025, 10:25 AMmbonnin
05/21/2025, 10:26 AMtasks.named("webBrowserDevelopmentWebpack").configure {
dependsOn("webProductionExecutableCompileSync")
}
mbonnin
05/21/2025, 10:26 AMafterEvaluate {}
if those tasks are created after your build scripts)martmists
05/21/2025, 10:29 AMVampire
05/21/2025, 11:48 AMVampire
05/21/2025, 11:48 AMVampire
05/21/2025, 11:48 AMmartmists
05/22/2025, 1:44 PMbuild
task somehow adds development as task?