🐘Setup with Gradle
How to use JackFredLib in your projects
Adding the repository
JackFredLib is available on my Maven repository. In your buildscript:
repositories {
maven {
name = "JackFredMaven"
url = uri("https://maven.jackf.red/releases/")
}
}
Adding modules
JackFredLib depends on Fabric API for all of it's modules.
JackFredLib can either be included as a whole (excluding Config):
dependencies {
include(modImplementation("red.jackf.jackfredlib:jackfredlib:<VERSION>")!!)
}
Or, on a per-module basis:
dependencies {
include(modImplementation("red.jackf.jackfredlib:jackfredlib-base:<VERSION>")!!)
include(modImplementation("red.jackf.jackfredlib:jackfredlib-colour:<VERSION>")!!)
include(modImplementation("red.jackf.jackfredlib:jackfredlib-lying:<VERSION>")!!)
}
Make sure you include any module dependencies - for example, the Lying module requires both the Colour and Base modules.
Last updated