Try to make all collections used in Compose code immutable (#1922)

* Try to make all collections used in Compose code immutable.

Mark sealed interfaces as `@Immutable` too

* Add gradle code to check the compose compiler reports

* Fix some more unstable classes
This commit is contained in:
Jorge Martin Espinosa
2023-11-29 16:02:08 +01:00
committed by GitHub
parent 8b7c53262f
commit ba4d3a70c7
55 changed files with 213 additions and 107 deletions
+1
View File
@@ -47,6 +47,7 @@ dependencies {
implementation("net.java.dev.jna:jna:5.13.0@aar")
implementation(libs.androidx.datastore.preferences)
implementation(libs.serialization.json)
implementation(libs.kotlinx.collections.immutable)
testImplementation(libs.test.junit)
testImplementation(libs.test.truth)