Skip to content

Commit 236df1f

Browse files
authored
Setup kotlinx.serialization plugin (#6783)
Setup kotlinx.serialization plugin in the project wide gradle build file. This will be used by AQS. The plugin needs to use the same version as as the kotlin version.
1 parent f86d40d commit 236df1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ plugins {
2626
id("firebase-ci")
2727
id("smoke-tests")
2828
alias(libs.plugins.google.services)
29+
alias(libs.plugins.kotlinx.serialization) apply false
2930
}
3031

3132
extra["targetSdkVersion"] = 34

gradle/libs.versions.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ runner = "1.0.2"
6868
rxandroid = "2.0.2"
6969
rxjava = "2.1.14"
7070
serialization = "1.5.1"
71-
serialization-plugin = "1.8.22"
7271
slf4jNop = "2.0.9"
7372
spotless = "7.0.0.BETA3"
7473
testServices = "1.2.0"
@@ -231,7 +230,7 @@ maven-resolver = [
231230

232231
[plugins]
233232
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
234-
kotlinx-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "serialization-plugin" }
233+
kotlinx-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
235234
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
236235
protobuf = { id = "com.google.protobuf", version.ref = "protobufGradlePlugin" }
237236
errorprone = { id = "net.ltgt.errorprone", version.ref = "gradleErrorpronePlugin" }

0 commit comments

Comments
 (0)