From 83200dc6f594cd5ce17421d460fce9337c24698d Mon Sep 17 00:00:00 2001
From: Sargun Vohra <sargun.vohra@gmail.com>
Date: Mon, 20 Apr 2020 00:56:39 +0100
Subject: [PATCH] Check the Fabric box when uploading to curseforge (#574)

* Check the Fabric box when uploading to curseforge

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

* Update cursegradle version
---
 build.gradle | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index 141a9c061..c74112144 100644
--- a/build.gradle
+++ b/build.gradle
@@ -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"
 		}