Skip to content

Commit b913e5d

Browse files
committed
deps(gradle): Upgrade Jackson to version 2.20.0
See [1]. Note that this version introduces inconsistent version naming with respect to the jackson-annotations artifact, which only uses a major and minor version, but no patch version. However, this inconsistency is now transparent thanks to using the Maven BOM. [1]: https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.20 [2]: FasterXML/jackson-annotations#307 Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent ebf94a6 commit b913e5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ greenmail = "2.1.5"
2828
gson = "2.13.1"
2929
hikari = "7.0.2"
3030
hoplite = "2.9.0"
31-
jackson = "2.19.2"
31+
jackson = "2.20.0"
3232
jakartaMail = "2.0.2"
3333
jerseyCommon = "3.1.11"
3434
jgit = "7.3.0.202506031305-r"

plugins/commands/config/src/main/kotlin/ConfigCommand.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class ConfigCommand(descriptor: PluginDescriptor = ConfigCommandFactory.descript
6969

7070
private val configWriter = YAMLMapper()
7171
.registerKotlinModule()
72-
.setSerializationInclusion(JsonInclude.Include.NON_NULL)
72+
.setDefaultPropertyInclusion(JsonInclude.Include.NON_NULL)
7373
.writerFor(OrtConfiguration::class.java)
7474
.withRootName("ort")
7575

0 commit comments

Comments
 (0)