Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.16 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.16 KB

Quilt Config


Quilt Config is a library designed to facilitate the creation and management of config files.

Usage

Importing via Gradle

Quilt Config can be imported from the Quilt maven using the following code in your build.gradle:

repositories {
    // tell gradle where to find quilt config's artifacts
    maven { url = "https://maven.quiltmc.org/repository/release/" }
}

dependencies {
    // the main quilt config API. replace <version> with the latest version
    implementation("org.quiltmc:quilt-config:<version>")

    // optional: a serializer to use when saving and reading the config
    // you can omit this and implement your own serializer
    // replace <serializer> with either "json5" or "toml" and <version> with the latest version
    implementation("org.quiltmc.quilt-config.serializers:<serializer>:<version>")
}

Documentation

Quilt Config has extensive javadoc, as well as tutorials on the Quilt Wiki. We recommend going to the Getting Started tutorial to begin using out Quilt Config.