diff --git a/README.md b/README.md index c4a41fb73..6acc1425c 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,11 @@ The following is a list of all third-party dependencies included as part of the - Purpose: A Kotlin-based declarative UI framework. - License: Apache 2.0 +- **kotlinx.collections.immutable** + - https://github.com/Kotlin/kotlinx.collections.immutable + - Purpose: Immutable collection interfaces and implementation prototypes for Kotlin. + - License: Apache 2.0 + - **kotlinx.coroutines** - https://github.com/Kotlin/kotlinx.coroutines) - Purpose: Kotlin coroutines library for asynchronous and reactive code. diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 244dbda34..3bd98da9b 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -103,6 +103,7 @@ dependencies { implementation(libs.google.hilt.android) kapt(libs.google.hilt.compiler) implementation(libs.jakewharton.retrofit.kotlinx.serialization) + implementation(libs.kotlinx.collections.immutable) implementation(libs.kotlinx.coroutines.android) implementation(libs.kotlinx.serialization) implementation(libs.nulab.zxcvbn4j) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 42355ec44..08def53be 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -32,6 +32,7 @@ junit5 = "5.8.2" jvmTarget = "1.8" kotlin = "1.9.10" kotlinCompilerExtensionVersion = "1.5.3" +kotlinxCollectionsImmutable = "0.3.6" kotlinxCoroutines = "1.7.3" kotlinxSerialization = "1.5.1" kotlinxKover = "0.7.3" @@ -81,6 +82,7 @@ google-hilt-compiler = { module = "com.google.dagger:hilt-android-compiler", ver jakewharton-retrofit-kotlinx-serialization = { module = "com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter", version.ref = "retrofitKotlinxSerialization" } junit-junit5 = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit5" } junit-vintage = { module = "org.junit.vintage:junit-vintage-engine", version.ref = "junit5" } +kotlinx-collections-immutable = { module = "org.jetbrains.kotlinx:kotlinx-collections-immutable", version.ref = "kotlinxCollectionsImmutable"} kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinxCoroutines" } kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinxCoroutines" } kotlinx-serialization = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinxSerialization" }