Soncresity Industries Wiki

Maven

Maven repo setup & integration of our projects

Introduction

We offer many useful features for developers, such as Utility classes, a configuration system, a custom logger and much more (through SI: Essentials). All of those features are designed to work on both Fabric and NeoForge in the same way to achieve the best possible experience.

Of course, you can also freely extend our content with addons. To do so, you need to configure our maven repository and add the desired dependencies.

Getting Started

Adding the repository

Before setting up the dependency, you need to add our maven repository first:

build.gradle / build.gradle.kts
repositories {
    // Groovy
    maven "https://maven.soncresity.industries/"

    // Kotlin
    maven("https://maven.soncresity.industries/")
}

Adding the dependency

Choose the project first. Available Minecraft versions and project releases update to match it. Your selections are saved in the URL, so you can share a link with the same configuration.

Note

Only Mods that are uploaded to our maven repository will be shown here. (Some versions that were lost during a server drive failure are not listed here.

Fabric

The selected project is available on Fabric and requires Fabric API.

build.gradle / build.gradle.kts
// GroovymodImplementation "dev.soncresityindustries:sies:2.4.0-b4-26.2-fabric"modImplementation "net.fabricmc.fabric-api:fabric-api:0.159.0+26.2"compileOnly "net.kyori:adventure-platform-fabric:7.1.1"// KotlinmodImplementation("dev.soncresityindustries:sies:2.4.0-b4-26.2-fabric")modImplementation("net.fabricmc.fabric-api:fabric-api:0.159.0+26.2")compileOnly("net.kyori:adventure-platform-fabric:7.1.1")

For fabric.mods.json, add the selected version requirements to the depends section:

fabric.mods.json
"depends": {  "fabricloader": ">=0.19",  "minecraft": "26.2",  "fabric-api": ">=0.159.0+26.2",  "sies": ">=2.4.0-b4"}

NeoForge

Add the NeoForge dependency to your Gradle file:

build.gradle / build.gradle.kts
// GroovymodImplementation "dev.soncresityindustries:sies:2.4.0-b4-26.2-neoforge"compileOnly "net.kyori:adventure-platform-neoforge:7.1.1"// KotlinmodImplementation("dev.soncresityindustries:sies:2.4.0-b4-26.2-neoforge")compileOnly("net.kyori:adventure-platform-neoforge:7.1.1")

Then declare the dependency in neoforge.mods.toml:

neoforge.mods.toml
[[dependencies.your_mod_id]]modId="sies"type="required"versionRange="[2.4.0-b4,)"ordering="AFTER"side="BOTH"

On this page