Skip to content

Instantly share code, notes, and snippets.

@axiel7
Created January 4, 2024 00:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save axiel7/41ee15fd1d323f473c7128b49c3a0358 to your computer and use it in GitHub Desktop.
Save axiel7/41ee15fd1d323f473c7128b49c3a0358 to your computer and use it in GitHub Desktop.
Enable compose metricts and reports
kotlinOptions {
freeCompilerArgs += listOf(
"-P",
"plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=" + project.buildDir.absolutePath + "/compose_metrics")
freeCompilerArgs += listOf(
"-P",
"plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" + project.buildDir.absolutePath + "/compose_metrics")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment