Does compose compiler metrics work for KMP shared ...
# multiplatform
c
Does compose compiler metrics work for KMP shared modules? Or only on the AndroidApp source? I have the reportsDestination set, but I only see the report generated in the androidApp module not in my shared kmp module
j
It used to work, but each target overwrites the other. I haven't tried since 2.0.0, though. https://youtrack.jetbrains.com/issue/KT-68646
c
ahh passing in composeCompilerReports=true seems to work.
Didn't see that mentioned anywhere in the docs, unless I'm blind
c
no idea where it is, i saw it in that ticket you linked than ran:
gw :application:shared:assemble -PcomposeCompilerReports=true
and it generated them
j
Maybe that's a Jetbrains Compose Gradle plugin thing
Doesn't seem to be
No idea!
c
Nope that doesn't seem to be it
It just randomly appeared now I can't get it to generate again 😕
Mmmm, it just seems sporadic, sometimes it creates then sometimes it doesn't.