Skip to content

Commit

Permalink
Add comment about switching kotlinx-serialization-json to compileOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronlehmann committed Feb 26, 2025
1 parent 3433d28 commit 2da0908
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ repositories {
// Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/platforms.html#sub:version-catalog
dependencies {
// implementation(libs.annotations)
// We need kotlinx-serialization-json >= 1.7.0 to support allowComments, as
// devcontainer.json files often have comments and therefore use
// nonstandard JSON syntax. This dependency should be marked compileOnly
// once the minimum IDE version we support (pluginSinceBuild in
// gradle.properties) is at least 251, which includes version 1.7.2.
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.0")
}

Expand Down

0 comments on commit 2da0908

Please sign in to comment.