Vaibhav Jaiswal
04/03/2024, 12:12 PMcompose-runtime
and mark all data classes with @immutable
, but I dont want to make my data layer modules a CMP Module
Is there any other way of achieving it?Stylianos Gakis
04/03/2024, 12:28 PMVaibhav Jaiswal
04/03/2024, 12:31 PMVaibhav Jaiswal
04/03/2024, 12:56 PMe: Unsupported plugin option: androidx.compose.compiler.plugins.kotlin:stabilityConfigurationPath=/Users/vaibhav/Projects/Medial/MedialMultiplatform/shared/stability-config.txt
I'm on Compose Multiplatform 1.5.12
This is how my plugin args looks like
kotlinOptions {
// Trigger this with:
// ./gradlew assembleRelease -PenableMultiModuleComposeReports=true --rerun-tasks
if (project.findProperty("enableMultiModuleComposeReports") == "true") {
freeCompilerArgs += listOf("-P", "plugin:androidx.compose.compiler.plugins.kotlin:stabilityConfigurationPath=$rootDir/shared/stability-config.txt")
freeCompilerArgs += listOf("-P", "plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" + rootProject.buildDir.absolutePath + "/compose_metrics/")
freeCompilerArgs += listOf("-P", "plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=" + rootProject.buildDir.absolutePath + "/compose_metrics/")
}
}
Stylianos Gakis
04/03/2024, 12:58 PMVaibhav Jaiswal
04/03/2024, 1:02 PM