Skip to content

Commit 2da0908

Browse files
committed
Add comment about switching kotlinx-serialization-json to compileOnly
1 parent 3433d28 commit 2da0908

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ repositories {
2525
// Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/platforms.html#sub:version-catalog
2626
dependencies {
2727
// implementation(libs.annotations)
28+
// We need kotlinx-serialization-json >= 1.7.0 to support allowComments, as
29+
// devcontainer.json files often have comments and therefore use
30+
// nonstandard JSON syntax. This dependency should be marked compileOnly
31+
// once the minimum IDE version we support (pluginSinceBuild in
32+
// gradle.properties) is at least 251, which includes version 1.7.2.
2833
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.0")
2934
}
3035

0 commit comments

Comments
 (0)