Skip to content

Commit 9fe4b87

Browse files
committed
Temp fix
Needs to switch another config framework in the future
1 parent e7d39ad commit 9fe4b87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
`java-library`
33
`maven-publish`
4-
id("com.gradleup.shadow") version "9.0.0-SNAPSHOT"
4+
id("com.gradleup.shadow") version "9.0.0-beta17"
55
}
66

77
group = "cn.dreeam.caeruleum"

src/main/java/cn/dreeam/caeruleum/config/ConfigManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static <C> ConfigManager<C> create(Path configFolder, String fileName,
3535
.build();
3636
ConfigurationFactory<C> configFactory = SnakeYamlConfigurationFactory.create(
3737
configClass,
38-
new ConfigurationOptions.Builder().sorter(new AnnotationBasedSorter()).build(),
38+
new ConfigurationOptions.Builder().sorter(new AnnotationBasedSorter()).setDottedPathInConfKey(true).build(),
3939
// change this if desired
4040
yamlOptions);
4141

0 commit comments

Comments
 (0)