Do these options work? ```composeCompiler { me...
# compose
a
Do these options work?
Copy code
composeCompiler {
    metricsDestination = TODO()
    reportsDestination = TODO()
}
According to this, we need to do something different:
Copy code
subprojects {
    tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
        kotlinOptions {
            if (project.findProperty("composeCompilerReports") == "true") {
                freeCompilerArgs += listOf(
                    "-P",
                    "plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=${project.buildDir.absolutePath}/compose_compiler"
                )
            }
            if (project.findProperty("composeCompilerMetrics") == "true") {
                freeCompilerArgs += listOf(
                    "-P",
                    "plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=${project.buildDir.absolutePath}/compose_compiler"
                )
            }
        }
    }
}
j
Yes they work, although they're not that useful in multiplatform because of https://youtrack.jetbrains.com/issue/KT-68646
a
Ah good to know, the intention was for multiplatform 😅
for me I think I can just assemble the android build, it’s something at least