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-19 16:56:39 -07:00 committed by GitHub
parent 0036435150
commit bd8e7c315a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ plugins {
id 'fabric-loom' version '0.2.6-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()
@ -236,6 +236,7 @@ curseforge {
changelog = 'A changelog can be found at https://github.com/FabricMC/fabric/commits/master'
releaseType = 'beta'
addGameVersion '1.15.2'
addGameVersion 'Fabric'
mainArtifact(file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar")) {
displayName = "[$Globals.mcVersion] Fabric API $Globals.baseVersion build $ENV.BUILD_NUMBER"
}