Is it possible to set a <compose stability configu...
# kotlin-toolchain
f
Is it possible to set a compose stability configuration file?
j
Not yet, let me create an issue: KTC-6123 Support stabilityConfigurationFiles for Compose
👍 1
r
With free compiler args probably you can set the file like metrics and reports folder https://kotlinlang.slack.com/archives/C062WG3A7T8/p1765164703189459?thread_ts=1765164703.189459&cid=C062WG3A7T8
j
Right, this should work as a workaround
f
Is it possible to provide the path to the file relative to the root of the project? I'd like to put it in a module template
Adding
Copy code
settings:
  kotlin:
    freeCompilerArgs:
      - -P plugin:androidx.compose.compiler.plugins.kotlin:stabilityConfigurationFile=../compose-stability.txt
to my project broke all project analysis 🤔 (probably related to the compose stability analyzer plugin though)
Oh it just didn't like the space after the -P
I'm now getting this funny error (there are no errors above, not even at the debug log level)
j
Glad you figured part of this out! Well that new error doesn't look right. Does it do this consistently? Is it possible for you to share the project to reproduce this?
f
j
Thanks a lot! We'll have a look