A modularized, lightweight collection of configuration language options.
|
All checks were successful
Build / build (push) Successful in 1m45s
|
||
|---|---|---|
| .forgejo/workflows | ||
| build_logic | ||
| core | ||
| dfu | ||
| gradle | ||
| lang/jsonc | ||
| src/test | ||
| .editorconfig | ||
| .gitignore | ||
| build.gradle.kts | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| README.md | ||
| settings.gradle.kts | ||
Polyamory
Polyamory is a library useful for decoding and encoding different data formats.
With a goal to make all implemented data languages as feature complete as possible, with comment parsing fully supported.
Currently Supports the Following Languages:
Depending on the Library
If you are using Polyamory for a Minecraft mod. It is recommended to either include or jarJar the dependency to avoid users having to download a Greenhouse Forgejo only dependency.
polyamory_version = "0.1.0"
polyamory_dfu_version = "0.1.0"
polyamory_lang_jsonc_version = "0.1.0"
The below is for Kotlin DSL, you will need to adjust this for Groovy DSL.
repositories {
maven {
name = "Greenhouse Maven"
url = "https://maven.greenhouse.lgbt/releases"
}
}
dependencies {
// Depend on the Core library. This is required for any other modules.
implementation("lgbt.greenhouse.polyamory:polyamory:${polyamory_version}")
// Depend on a language, you will need at least one to use the library.
implementation("lgbt.greenhouse.polyamory.lang.jsonc:polyamory-lang-jsonc:${polyamory_jsonc_version}")
// Depend on integration for DFU, useful if you are using https://github.com/Mojang/DataFixerUpper/.
implementation("lgbt.greenhouse.polyamory.dfu:polyamory-dfu:${polyamory_dfu_version}")
// Include the library if you are making a Minecraft mod...
include(...) // Fabric Loom and derivatives.
jarJar(...) // ModDevGradle and derivatives.
}