Upgrade to SnakeYAML 1.33

Closes gh-32522
pull/32525/head
Brian Clozel 2 years ago
parent 243075d3b2
commit bf5bd4f91c

@ -1382,7 +1382,7 @@ bom {
]
}
}
library("SnakeYAML", "1.32") {
library("SnakeYAML", "1.33") {
group("org.yaml") {
modules = [
"snakeyaml"

@ -73,8 +73,8 @@ class OriginTrackedYamlLoader extends YamlProcessor {
private Yaml createYaml(LoaderOptions loaderOptions) {
BaseConstructor constructor = new OriginTrackingConstructor(loaderOptions);
Representer representer = new Representer();
DumperOptions dumperOptions = new DumperOptions();
Representer representer = new Representer(dumperOptions);
NoTimestampResolver resolver = new NoTimestampResolver();
return new Yaml(constructor, representer, dumperOptions, loaderOptions, resolver);
}

Loading…
Cancel
Save