4
4
[ ![ JetBrains official project] ( https://jb.gg/badges/official.svg )] ( https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub )
5
5
[ ![ GitHub license] ( https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat )] ( http://www.apache.org/licenses/LICENSE-2.0 )
6
6
[ ![ TeamCity build] ( https://img.shields.io/teamcity/http/teamcity.jetbrains.com/s/KotlinTools_KotlinxSerialization_Ko.svg )] ( https://teamcity.jetbrains.com/viewType.html?buildTypeId=KotlinTools_KotlinxSerialization_Ko&guest=1 )
7
- [ ![ Kotlin] ( https://img.shields.io/badge/kotlin-2.1.0 -blue.svg?logo=kotlin )] ( http://kotlinlang.org )
8
- [ ![ Maven Central] ( https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-serialization-core/1.8.0 )] ( https://central.sonatype.com/artifact/org.jetbrains.kotlinx/kotlinx-serialization-core/1.8.0 )
7
+ [ ![ Kotlin] ( https://img.shields.io/badge/kotlin-2.1.20 -blue.svg?logo=kotlin )] ( http://kotlinlang.org )
8
+ [ ![ Maven Central] ( https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-serialization-core/1.8.1 )] ( https://central.sonatype.com/artifact/org.jetbrains.kotlinx/kotlinx-serialization-core/1.8.1 )
9
9
[ ![ KDoc link] ( https://img.shields.io/badge/API_reference-KDoc-blue )] ( https://kotlinlang.org/api/kotlinx.serialization/ )
10
10
[ ![ Slack channel] ( https://img.shields.io/badge/chat-slack-blue.svg?logo=slack )] ( https://kotlinlang.slack.com/messages/serialization/ )
11
11
@@ -94,17 +94,17 @@ Kotlin DSL:
94
94
95
95
``` kotlin
96
96
plugins {
97
- kotlin(" jvm" ) version " 2.1.0 " // or kotlin("multiplatform") or any other kotlin plugin
98
- kotlin(" plugin.serialization" ) version " 2.1.0 "
97
+ kotlin(" jvm" ) version " 2.1.20 " // or kotlin("multiplatform") or any other kotlin plugin
98
+ kotlin(" plugin.serialization" ) version " 2.1.20 "
99
99
}
100
100
```
101
101
102
102
Groovy DSL:
103
103
104
104
``` gradle
105
105
plugins {
106
- id 'org.jetbrains.kotlin.multiplatform' version '2.1.0 '
107
- id 'org.jetbrains.kotlin.plugin.serialization' version '2.1.0 '
106
+ id 'org.jetbrains.kotlin.multiplatform' version '2.1.20 '
107
+ id 'org.jetbrains.kotlin.plugin.serialization' version '2.1.20 '
108
108
}
109
109
```
110
110
@@ -122,7 +122,7 @@ buildscript {
122
122
repositories { mavenCentral() }
123
123
124
124
dependencies {
125
- val kotlinVersion = " 2.1.0 "
125
+ val kotlinVersion = " 2.1.20 "
126
126
classpath(kotlin(" gradle-plugin" , version = kotlinVersion))
127
127
classpath(kotlin(" serialization" , version = kotlinVersion))
128
128
}
@@ -133,7 +133,7 @@ Groovy DSL:
133
133
134
134
``` gradle
135
135
buildscript {
136
- ext.kotlin_version = '2.1.0 '
136
+ ext.kotlin_version = '2.1.20 '
137
137
repositories { mavenCentral() }
138
138
139
139
dependencies {
@@ -163,7 +163,7 @@ repositories {
163
163
}
164
164
165
165
dependencies {
166
- implementation(" org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.0 " )
166
+ implementation(" org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.1 " )
167
167
}
168
168
```
169
169
@@ -175,7 +175,7 @@ repositories {
175
175
}
176
176
177
177
dependencies {
178
- implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.0 "
178
+ implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.1 "
179
179
}
180
180
```
181
181
@@ -265,8 +265,8 @@ Ensure the proper version of Kotlin and serialization version:
265
265
266
266
``` xml
267
267
<properties >
268
- <kotlin .version>2.1.0 </kotlin .version>
269
- <serialization .version>1.8.0 </serialization .version>
268
+ <kotlin .version>2.1.20 </kotlin .version>
269
+ <serialization .version>1.8.1 </serialization .version>
270
270
</properties >
271
271
```
272
272
0 commit comments