does `freeCompilerArgs` only accept absolute paths...
# compose-android
z
does
freeCompilerArgs
only accept absolute paths as input for file locations? https://developer.android.com/develop/ui/compose/performance/stability/fix#kotlin
Copy code
kotlinOptions {
  freeCompilerArgs += listOf(
      "-P",
      "plugin:androidx.compose.compiler.plugins.kotlin:stabilityConfigurationPath=" +
      "${project.absolutePath}/compose_compiler_config.conf"
  )
}
I think this would cause a problem with Gradle remote build caching?
b
This should be solved by using the Compose compiler gradle plugin rather than
freeCompilerArgs
https://developer.android.com/develop/ui/compose/compiler
z
unfortunately, my team is on Kotlin
1.9.x
still 😞
is there any other solution?
b
No, we need a gradle plugin to fix it because the compiler doesn't get passed enough information to resolve a relative path
❤️ 1
👍 1