Add JsonConfiguration support to bungeecord-config

Thanks @FelixKlauke for the idea in #2364, however this implementation was designed to mirror as much of the existing YamlConfiguration as possible and have Gson as an optional depend.
This commit is contained in:
md_5
2020-02-03 13:25:47 +11:00
parent cdacc0b1be
commit 9e8ab747e4
6 changed files with 372 additions and 144 deletions

View File

@@ -19,11 +19,19 @@
<description>Generic java configuration API intended for use with BungeeCord</description>
<dependencies>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.0</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.25</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
</dependencies>
</project>