seb
07/06/2026, 6:32 AMdetekt-api 2.0.0-alpha.5 (and alpha.4, both built against Kotlin 2.4.0) publishes a Gradle Module Metadata variant set that breaks consumer resolution under Gradle 9.4.1 and 9.6.1 when the Kotlin Compose compiler plugin is on the build. The fully-compatible runtimeElements gets rejected as "no matching variant", so detekt-test can't be resolved. The older alpha.3 with Kotlin 2.3.21 resolves fine; the difference is a testFixturesSourcesElements variant with a detekt-api-test-fixtures capability with no corresponding test-fixtures library variants. This seems to mostly break on macOS and work on the Linux CI.
Is an alpha.6 on the roadmap that would pick up a fix for this, or is there a recommended workaround in the meantime, other than remaining on alpha.3?Brais Gabin
07/06/2026, 12:33 PMseb
07/06/2026, 12:41 PMseb
07/06/2026, 1:46 PMgammax
07/06/2026, 8:04 PMBrais Gabin
07/07/2026, 7:07 AMseb
07/25/2026, 9:18 AMgammax
07/27/2026, 4:44 PMseb
07/27/2026, 4:45 PM