You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
task publishModrinth (type: TaskModrinthUpload){ // Make sure it runs after build!
146
+
modrinth {
148
147
if (project.hasProperty("modrinth_token") && project.hasProperty("modrinth_id")) {
149
148
token = project.modrinth_token
150
149
projectId = project.modrinth_id
@@ -153,7 +152,7 @@ task publishModrinth (type: TaskModrinthUpload){ // Make sure it runs after buil
153
152
versionType = project.release_type
154
153
// On fabric, use 'remapJar' instead of 'jar'
155
154
uploadFile = remapJar // This is the java jar task. If it can't find the jar, try 'jar.outputs.getFiles().asPath' in place of 'jar'
156
-
addGameVersion(project.minecraft_version) // Call this multiple times to add multiple game versions. There are tools that can help you generate the list of versions
157
-
addLoader(project.platform_name)
155
+
gameVersions = ["${project.minecraft_version}"]
156
+
loaders = ["${project.platform_name}"] // Must also be an array - no need to specify this if you're using Loom
task publishModrinth (type: TaskModrinthUpload){ // Make sure it runs after build!
143
+
modrinth {
144
144
if (project.hasProperty("modrinth_token") && project.hasProperty("modrinth_id")) {
145
145
token = project.modrinth_token
146
146
projectId = project.modrinth_id
@@ -149,7 +149,7 @@ task publishModrinth (type: TaskModrinthUpload){ // Make sure it runs after buil
149
149
versionType = project.release_type
150
150
// On fabric, use 'remapJar' instead of 'jar'
151
151
uploadFile = remapJar // This is the java jar task. If it can't find the jar, try 'jar.outputs.getFiles().asPath' in place of 'jar'
152
-
addGameVersion(project.minecraft_version) // Call this multiple times to add multiple game versions. There are tools that can help you generate the list of versions
153
-
addLoader(project.platform_name)
152
+
gameVersions = ["${project.minecraft_version}"]
153
+
loaders = ["${project.platform_name}"] // Must also be an array - no need to specify this if you're using Loom
0 commit comments