mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 03:05:28 +01:00
Update SnakeYAML - see if this helps marker issue
This commit is contained in:
parent
08226b8602
commit
731b40f680
@ -5,7 +5,7 @@ dependencies {
|
||||
compile 'org.eclipse.jetty:jetty-server:8.1.21.v20160908'
|
||||
compile 'org.eclipse.jetty:jetty-servlet:8.1.21.v20160908'
|
||||
compile 'com.googlecode.json-simple:json-simple:1.1.1'
|
||||
compile 'org.yaml:snakeyaml:1.9'
|
||||
compile 'org.yaml:snakeyaml:1.23'
|
||||
compile 'com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:20180219.1'
|
||||
}
|
||||
|
||||
|
@ -45,6 +45,7 @@ public class ConfigurationNode implements Map<String, Object> {
|
||||
options.setIndent(4);
|
||||
options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK);
|
||||
options.setPrettyFlow(true);
|
||||
options.setVersion(DumperOptions.Version.V1_1);
|
||||
|
||||
yaml = new Yaml(new SafeConstructor(), new EmptyNullRepresenter(), options);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user