(1min read) This page describes steps how to implement BoostedYAML into your own project.
Artifacts
BoostedYAML is a standalone library available under boosted-yaml ID.
Coming from Spigot (Bukkit) API and using custom object serialization?
If you are using custom object serialization provided by these APIs (your classes implement ConfigurationSerializable / you are serializing locations, items...), make sure to add:
boosted-yaml-spigot: includes a custom BoostedYAML serializer compatible with the Spigot (Bukkit) API serialization system.
This artifact is provided for the ease of migration to BoostedYAML. If you aren't using this serialization system, but developing with these APIs, it is recommended to build with the standard boosted-yaml artifact.
Add using Maven (recommended)
Dependency
Add dependency for the artifact:
<dependency><groupId>dev.dejvokep</groupId><artifactId>boosted-yaml</artifactId><version>1.3.5</version></dependency><!-- Optionally, add also BoostedYAML for Spigot extension (see above) --><dependency><groupId>dev.dejvokep</groupId><artifactId>boosted-yaml-spigot</artifactId><version>1.5</version></dependency>
Add this shading section to your build configuration:
This configuration will shade (= "copy") the whole BoostedYAML library into a package inside your project defined by <shadedPattern> to avoid any runtime classpath conflicts. Do not forget to change it to your corresponding package.
Download and add into project's libraries
If you cannot use Maven / Gradle due to some reason, you can still download the .JAR archives needed from the Maven Central Repository (click "Browse" for the latest version):