Skip to content

Instantly share code, notes, and snippets.

@tolgaprm

tolgaprm/.kt Secret

Created January 21, 2024 17:16
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 tolgaprm/baae5faa744b648af9a5135f9f6acf28 to your computer and use it in GitHub Desktop.
Save tolgaprm/baae5faa744b648af9a5135f9f6acf28 to your computer and use it in GitHub Desktop.
subprojects {
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
compilerOptions.freeCompilerArgs.addAll(
"-P",
"plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=" +
project.buildDir.absolutePath + "/compose_compiler",
)
compilerOptions.freeCompilerArgs.addAll(
"-P",
"plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" +
project.buildDir.absolutePath + "/compose_compiler",
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment