Add Moshi
This commit is contained in:
parent
f77bad3adb
commit
ec96e39580
2 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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" }
|
||||
|
|
Loading…
Reference in a new issue