Skip to main content

Publish to CurseForge

This example project configuration shows how to publish your mod to CurseForge.

build.gradle
tableau {
mod {
// Mod information
modid = 'modid' // Use your own modid here.
group = 'com.example' // Use your own group here.
minecraftVersion = '1.21.3' // Or any other minecraft version.
publisher = 'SomePublisher' // Use your own name here.
url = 'https://github.com/someorg/modid' // Use your own URL here.
}

curse {
id = 123456 // Use your own CurseForge project ID here.

relationships {
// Add a relationship to another mod
tool("some-tool-slug")
}
}
}
warning

You need to set your CurseForge API in the CURSE_API_KEY environment variable.

note

You can find a full example of this project configuration in the CurseForge Publishing Example on GitHub.