Hello 👋
The issue marked as resolved with 0.21.2 release still happens with 0.23.0.
The original issue is here: #421
error:
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':client:core:res:detektMetadataCommonMain' (type 'Detekt').
- Gradle detected a problem with the following location: '/home/runner/work/CCC/CCC/client/core/res/build/generated/moko/commonMain/src'.
Reason: Task ':client:core:res:detektMetadataCommonMain' uses this output of task ':client:core:res:generateMRcommonMain' 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 ':client:core:res:generateMRcommonMain' as an input of ':client:core:res:detektMetadataCommonMain'.
2. Declare an explicit dependency on ':client:core:res:generateMRcommonMain' from ':client:core:res:detektMetadataCommonMain' using Task#dependsOn.
3. Declare an explicit dependency on ':client:core:res:generateMRcommonMain' from ':client:core:res:detektMetadataCommonMain' using Task#mustRunAfter.
Related PR that removes the workaround: Oztechan/CCC#2582