jayaSuryaT
KotlinCompile.kotlinOptions.freeCompilerArgs
subprojects { tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach { kotlinOptions { if (project.findProperty("enableComposeReports") == "true") { freeCompilerArgs += ["-P", "plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" + rootProject.buildDir.absolutePath + "/compose_metrics/"] } } } }
gradle
freeCompilerArgs
./gradlew assembleRelease -Pkotlin.compiler.arguments="plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=<path>"
Vampire
A modern programming language that makes developers happier.