A gradle plugin for publishing artifacts to CurseForge.
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'
}
}