Thomas Hormes
07/23/2026, 9:49 AM2.0.0-alpha.5 . Its a multi module multi platform project and I'm having trouble setting up report Merging.
When I just put this code from the Detekt docs in the top level build.gradle.kts, and i run the reportMerging task, nothing happens. When i put this code in the convention plugin i use to apply detekt, reportMerging is executed but twice, which results in the report only containing a part of the findings.
My Project setup is similar to the Now In Android App , where i currently have set up a core module containing three submodules ui, data, etc. and a sharedUi module which comes from Terrakok's CMP WizardThomas Hormes
07/23/2026, 10:00 AMColin McKee
08/06/2026, 3:48 PMreportMerge logic would have to go in the root build.gradle.kts file while everything else in your convention plugin would remain where it is. Don't know if you need the finalizedBy logic, but it would also go in the root Gradle script.
My guess is the ReportMergeTask is running for each project and since they're all writing to the same output file, last writer overwrites the other modules.