diff --git a/app/build.gradle b/app/build.gradle index e33a97cd..5a9cff1b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -86,6 +86,8 @@ android { // freeCompilerArgs += ["-P", "plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true"] freeCompilerArgs += ["-P", "plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=" + project.buildDir.absolutePath + "/compose_metrics"] freeCompilerArgs += ["-P", "plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=" + project.buildDir.absolutePath + "/compose_metrics"] + freeCompilerArgs += ["-P", "plugin:androidx.compose.compiler.plugins.kotlin:stabilityConfigurationPath=" + + project.rootDir.absolutePath + "/compose_stability_configuration.txt"] } packagingOptions { resources { diff --git a/compose_stability_configuration.txt b/compose_stability_configuration.txt new file mode 100644 index 00000000..1a0b4606 --- /dev/null +++ b/compose_stability_configuration.txt @@ -0,0 +1 @@ +com.huanchengfly.tieba.post.api.models.protos.** \ No newline at end of file