User Tools

Site Tools


tutorial:cursegradle

This is an old revision of the document!


Publishing mods on CurseForge with CurseGradle

To familiarize yourself with CurseGradle, please read the project's official wiki.

Fabric-specific changes

(Note: Last updated for Loom 0.2.3.)

The additions necessary for usage with Fabric have been highlighted in green.

They are, in order:

  • afterEvaluate { ... } - Loom's remapJar tweaks currently happen after evaluation, and as such remapJar.output can only be read then,
  • mainArtifact(remapJar.output) - the primary artifact submitted to CurseForge should be the output of remapJar, that is the remapped (production-ready) mod .JAR file,
  • uploadTask.dependsOn(remapJar) - make sure that the CurseForge upload task only runs once the remapped JAR has been built,
  • forgeGradleIntegration = false - as you're not using ForgeGradle, that specific integration has to be disabled.
tutorial/cursegradle.1557660133.txt.gz · Last modified: 2019/05/12 11:22 by asie