Skip to content

YumiProject/yumi-commons

Repository files navigation

Yumi Commons

Java 17 GitHub license Version

A set of common utilities to use as libraries.

Usage

The libraries are hosted on Maven Central, which means they can be added through the dev.yumi.commons:yumi-commons Maven coordinates.

Specific modules can be found as dev.yumi.commons:yumi-commons-<library>.

Gradle

Via a libs.versions.toml file:

[versions]
yumi-commons = "<version>"

[libraries]
yumi-commons = { module = "dev.yumi.commons:yumi-commons", version.ref = "yumi-commons" }
yumi-commons-core = { module = "dev.yumi.commons:yumi-commons-core", version.ref = "yumi-commons" }
yumi-commons-collections = { module = "dev.yumi.commons:yumi-commons-collections", version.ref = "yumi-commons" }
yumi-commons-event = { module = "dev.yumi.commons:yumi-commons-event", version.ref = "yumi-commons" }

Then in the Gradle buildscript:

dependencies {
	implementation(libs.yumi.commons) // If using the whole bundle

	implementations(libs.yumi.commons.core)
	implementations(libs.yumi.commons.collections)
	implementations(libs.yumi.commons.event)
}