Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

matthewprenger/CurseGradle

Repository files navigation

CurseGradle

Build Status

A gradle plugin for publishing artifacts to CurseForge.

Simple Quickstart with ForgeGradle

If you're using ForgeGradle, which you probably are, the following script is a bare-minimum. For more details about customization, check out the Wiki.

To find out which versions are available, check HERE.

plugins {
    id 'net.minecraftforge.gradle.forge' version '2.0.2'
    id 'com.matthewprenger.cursegradle' version '<VERSION>'
}

curseforge {
  apiKey = '123-456' // This should really be in a gradle.properties file
  project {
    id = '12345'
    changelog = 'Changes' // A file can also be set using: changelog = file('changelog.txt')
    releaseType = 'beta'
  }
}