Check the Fabric box when uploading to curseforge ()

* Check the Fabric box when uploading to curseforge

This will ensure mod auto update tools know it's a Fabric jar.

* Update cursegradle version
This commit is contained in:
Sargun Vohra 2020-04-20 00:56:39 +01:00 committed by modmuss50
parent eb276f9cfc
commit 83200dc6f5

View file

@ -6,7 +6,7 @@ plugins {
id 'fabric-loom' version '0.2.7-SNAPSHOT' apply false
id 'net.minecrell.licenser' version '0.4.1'
id "org.ajoberstar.grgit" version "3.1.1"
id 'com.matthewprenger.cursegradle' version "1.1.2"
id 'com.matthewprenger.cursegradle' version "1.4.0"
}
def ENV = System.getenv()
@ -246,6 +246,7 @@ curseforge {
changelog = 'A changelog can be found at https://github.com/FabricMC/fabric/commits'
releaseType = 'beta'
addGameVersion '1.16-Snapshot'
addGameVersion 'Fabric'
mainArtifact(file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar")) {
displayName = "[$Globals.mcVersion] Fabric API $Globals.baseVersion build $ENV.BUILD_NUMBER"
}