JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
15.9k stars 1.16k forks source link

Detekt tasks are being registered when using the 1.7.0 dev gradle plugin #5028

Open eygraber opened 2 months ago

eygraber commented 2 months ago

Describe the bug I've been playing around with the 1.7.0 dev builds of the gradle plugin, and starting from 1.7.0-dev1688 I get an error saying that:

Cannot add task 'detektMetadataTest' as a task with that name already exists.

I use detekt in my project, so my assumption is that something in the Compose gradle plugin has started registering detekt tasks which is causing the error.

eygraber commented 2 months ago

Looks like it's specifically for the task detektMetadataTest.

okushnikov commented 2 weeks ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.