Skip to content

Using as a Dependency

Bizarre Cube edited this page Aug 15, 2026 · 3 revisions

Simple Config Lib can be added to another mod's build as a Gradle dependency.

Two repositories are available:

  • Modrinth Maven — recommended; coordinates use a readable version number.
  • CurseMaven — alternative; coordinates use a numeric file ID.

Modrinth Maven

Project ID: PY2YT7QI.

repositories {  
    maven {  
        name = "Modrinth"  
        url = "https://api.modrinth.com/maven"  
        content { includeGroup "maven.modrinth" }  
    }  
}  
  
dependencies {  
    implementation "maven.modrinth:PY2YT7QI:<version>"  
}  

Coordinate format: maven.modrinth:<projectId-or-slug>:<versionNumber-or-versionId>.

  • <projectId>PY2YT7QI (the slug simple-config-lib also works).
  • <version> — a readable version number (e.g. 1.0-fabric+1.21.1) or the versionId from the version page URL (.../version/<versionId>).

CurseMaven (alternative)

CurseForge project ID: 1652755.

repositories {  
    maven {  
        name = "CurseMaven"  
        url = "https://cursemaven.com"  
        content { includeGroup "curse.maven" }  
    }  
}  
  
dependencies {  
    implementation "curse.maven:simple-config-lib-1652755:<fileId>"  
}  

Coordinate format: curse.maven:<slug>-<projectId>:<fileId>.

  • <slug> — any readable label (only affects the cache name).
  • <projectId>1652755.
  • <fileId> — the numeric ID of the specific file, visible in the file page URL: .../files/<fileId>.

Unlike Modrinth Maven, the dependency is tied to a file ID rather than a version number, so you must pick the file matching the desired Minecraft version + loader, and update the ID manually when upgrading.


Fabric

For Fabric Legacy consumers, replace implementation with modImplementation

The repository and coordinate formats stay the same; only the dependency configuration changes.

Clone this wiki locally