diff --git a/app/build.gradle.kts b/app/build.gradle.kts index f43ed42..c6a3880 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -57,6 +57,7 @@ android { } dependencies { + implementation(libs.kotlin.stdlib) implementation(libs.androidx.core) implementation(libs.androidx.appcompat) implementation(libs.material) @@ -64,6 +65,8 @@ dependencies { implementation(libs.lifecycle) implementation(libs.room.ktx) kapt(libs.room.kapt) + implementation(libs.moshi.core) + kapt(libs.moshi.kapt) testImplementation(libs.junit) testImplementation(libs.room.test) androidTestImplementation(libs.test.ext) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 78cf2b1..7c303a7 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -5,6 +5,7 @@ compose = "1.0.0-beta05" espresso = "3.3.0" kotlin = "1.5.0" material = "1.3.0" +moshi = "1.12.0" room = "2.3.0" [libraries] @@ -17,8 +18,11 @@ compose-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "co compose-activity = { module = "androidx.activity:activity-compose", version = "1.3.0-alpha07" } compose-test = { module = "androidx.compose.ui:ui-test-junit4", version.ref = "compose" } lifecycle = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version = "2.3.1" } +moshi-core = { module = "com.squareup.moshi:moshi", version.ref = "moshi"} +moshi-kapt = { module = "com.squareup.moshi:moshi-kotlin-codegen", version.ref = "moshi"} junit = { module = "junit:junit", version = "4.12" } kotlin-gradle = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" } +kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" } room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" } room-kapt = { module = "androidx.room:room-compiler", version.ref = "room" } room-test = { module = "androidx.room:room-testing", version.ref = "room" }