e: Multiple values are not allowed for plugin option androidx.compose.compiler.plugins.kotlin:metricsDestination
when I try to run composable metrics
Don't see any other obvious source where this value would come from aside from my own code. Any ways to debug this properly?
e
ephemient
09/13/2022, 1:46 PM
first guess: are you on Windows? that snippet won't work (and I don't have Windows to figure out an equivalent)
s
steelahhh
09/13/2022, 1:53 PM
I'm running this on Mac OS, so sadly that's not it
e
ephemient
09/13/2022, 2:04 PM
hmm. does your path have a
:
or any other special characters in it? or are you somehow applying other command-line arg additions in some modules?
s
steelahhh
09/13/2022, 2:08 PM
I am adding other command line args in common module config, but nothing Compose-related
Might be somehow caused by kapt + molecule (at least this is the diff from modules where metrics work) 🤔
steelahhh
09/13/2022, 2:17 PM
That was exactly the reason
Removing either
kapt
or molecule plugin solves the issue and metrics run just fine
Time to give anvil a go, I guess 🦜