forked from Upstream/Velocitab
build: bump ConfigLib to 4.4.0, fix file encoding
This commit is contained in:
parent
fc605ce6d7
commit
63ed22527b
@ -47,7 +47,7 @@ dependencies {
|
|||||||
implementation 'net.william278:DesertWell:2.0.4'
|
implementation 'net.william278:DesertWell:2.0.4'
|
||||||
implementation 'de.themoep:minedown-adventure:1.7.2-SNAPSHOT'
|
implementation 'de.themoep:minedown-adventure:1.7.2-SNAPSHOT'
|
||||||
implementation 'org.bstats:bstats-velocity:3.0.2'
|
implementation 'org.bstats:bstats-velocity:3.0.2'
|
||||||
implementation 'com.github.Exlll.ConfigLib:configlib-yaml:v4.3.0'
|
implementation 'com.github.Exlll.ConfigLib:configlib-yaml:v4.4.0'
|
||||||
|
|
||||||
annotationProcessor 'org.projectlombok:lombok:1.18.30'
|
annotationProcessor 'org.projectlombok:lombok:1.18.30'
|
||||||
}
|
}
|
||||||
|
@ -28,6 +28,7 @@ import org.jetbrains.annotations.NotNull;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
import java.nio.charset.StandardCharsets;
|
||||||
import java.nio.file.Path;
|
import java.nio.file.Path;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
@ -40,6 +41,7 @@ public interface ConfigProvider {
|
|||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
YamlConfigurationProperties.Builder<?> YAML_CONFIGURATION_PROPERTIES = YamlConfigurationProperties.newBuilder()
|
YamlConfigurationProperties.Builder<?> YAML_CONFIGURATION_PROPERTIES = YamlConfigurationProperties.newBuilder()
|
||||||
|
.charset(StandardCharsets.UTF_8)
|
||||||
.setNameFormatter(NameFormatters.LOWER_UNDERSCORE);
|
.setNameFormatter(NameFormatters.LOWER_UNDERSCORE);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user