A modularized, lightweight collection of configuration language options.
  • Java 99.3%
  • Kotlin 0.7%
Find a file
Anastasia Chrysanthemum 9c9c38588a
All checks were successful
Build / build (push) Successful in 36s
fix: Change Polyamory: DataFixerUpper to compileOnly DFU.
2026-03-02 12:11:04 +11:00
.forgejo/workflows fix: Remove unnecessary MAVEN_URL secret. 2026-01-12 09:25:04 +11:00
build_logic fix: Fix Polyamory: DataFixerUpper implementing DFU. 2026-03-02 12:08:58 +11:00
core fix: PolyamoryWriter implements Closeable rather than AutoCloseable. 2026-02-05 20:56:06 +11:00
dfu fix: Change Polyamory: DataFixerUpper to compileOnly DFU. 2026-03-02 12:11:04 +11:00
gradle fix: Use Minecraft Libraries Maven instead of manually downloading the DFU JAR. 2026-02-20 12:11:45 +11:00
lang/jsonc fix: Fix #1 and handle boolean peeks better. 2026-02-05 21:40:46 +11:00
src/test fix: Fix #1 and handle boolean peeks better. 2026-02-05 21:40:46 +11:00
.editorconfig Initial commit, I'll change the name later... 2025-11-28 13:35:46 +11:00
.gitignore fix: gitignore any folder named testdata. 2025-12-08 14:48:13 +11:00
build.gradle.kts fix: Use Minecraft Libraries Maven within root build.gradle.kts. 2026-02-26 08:21:23 +11:00
gradle.properties build: Enable configuration cache. 2025-12-31 09:25:48 +11:00
gradlew fix: Allow group and others to execute ./gradlew. 2026-01-12 09:19:11 +11:00
gradlew.bat Initial commit, I'll change the name later... 2025-11-28 13:35:46 +11:00
README.md chore: Bump versions in README.md 2026-02-05 21:42:12 +11:00
settings.gradle.kts feat: Unplaceholder Core and DFU icons, remove dummy mod. 2025-12-09 17:50:35 +11:00

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.1"
polyamory_dfu_version = "0.1.1"
polyamory_lang_jsonc_version = "0.1.2"

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.
}