Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds kotlinx serialization #1221

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[versions]
agp = "8.1.0"
kotlin = "1.7.21"
# Can't update until we use more recent kotlin. 1.5.0 uses Kotlin 1.8.0
kotlinxSerializationJSON = "1.4.1"
buildTools = "33.0.2"
billing = "5.2.1"
lifecycle = "2.5.0"
Expand Down Expand Up @@ -39,6 +41,7 @@ detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" }
dokka = { id ="org.jetbrains.dokka", version.ref = "dokka"}
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover"}
mavenPublish = { id = "com.vanniktech.maven.publish", version.ref = "mavenPublish" }
paparazzi = { id = "app.cash.paparazzi", version.ref = "paparrazzi" }
Expand Down Expand Up @@ -80,6 +83,7 @@ billing = { module = "com.android.billingclient:billing" , version.ref = "billin
detekt-formatting = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detekt" }

kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinxSerializationJSON"}

material = { module = "com.google.android.material:material", version.ref = "material" }

Expand Down
2 changes: 2 additions & 0 deletions purchases/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ plugins {
alias libs.plugins.mavenPublish
alias libs.plugins.dokka
alias libs.plugins.kotlin.parcelize
alias libs.plugins.kotlin.serialization
}

apply from: "$rootProject.projectDir/library.gradle"
Expand Down Expand Up @@ -76,6 +77,7 @@ dependencies {
implementation libs.androidx.lifecycle.runtime
implementation libs.androidx.lifecycle.common
implementation libs.androidx.lifecycle.process
implementation libs.kotlinx.serialization.json
api libs.billing
implementation libs.tink
implementation libs.playServices.ads.identifier
Expand Down