martmists
06/29/2023, 8:13 PMFAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':wiki-frontend-admin:jsDevelopmentExecutableCompileSync' (type 'SyncExecutableTask').
- Gradle detected a problem with the following location: '/home/mart/git/sites/wiki/build/js/packages/wiki-wiki-frontend-admin/kotlin'.
Reason: Task ':wiki-frontend-admin:jsBrowserProductionWebpack' uses this output of task ':wiki-frontend-admin:jsDevelopmentExecutableCompileSync' 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 ':wiki-frontend-admin:jsDevelopmentExecutableCompileSync' as an input of ':wiki-frontend-admin:jsBrowserProductionWebpack'.
2. Declare an explicit dependency on ':wiki-frontend-admin:jsDevelopmentExecutableCompileSync' from ':wiki-frontend-admin:jsBrowserProductionWebpack' using Task#dependsOn.
3. Declare an explicit dependency on ':wiki-frontend-admin:jsDevelopmentExecutableCompileSync' from ':wiki-frontend-admin:jsBrowserProductionWebpack' using Task#mustRunAfter.
Please refer to <https://docs.gradle.org/8.1.1/userguide/validation_problems.html#implicit_dependency> for more details about this problem.
How would I fix this? Using kotlin 1.8.20 and Gradle 8.1.1Vampire
06/29/2023, 8:22 PMmartmists
06/30/2023, 10:30 AMVampire
06/30/2023, 11:34 AMsuresh
07/01/2023, 2:07 PM