Skip to content

Commit

Permalink
Fix cf displayName not including loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaz492 committed Aug 1, 2023
1 parent 4f3306c commit 652f6d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,18 @@ publishMods {
projectId = "${curseforge_id}"
accessToken = providers.environmentVariable("CURSE_TOKEN")
minecraftVersions.add("${minecraft_version}")
// displayName = "${mod_name}-${project.name} ${mod_version}+mc${minecraft_version}"
}
curseforge("curseforgeForge") {
from options
displayName = "${project.name} Forge ${mod_version}+mc${minecraft_version}"
file = project.provider { project(":forge").tasks.jar }.flatMap { it.archiveFile }
modLoaders.add("forge")
modLoaders.add("Java 17")
}

curseforge("curseforgeFabric") {
from options

displayName = "${project.name} Fabric ${mod_version}+mc${minecraft_version}"
file = project.provider { project(":fabric").tasks.remapJar }.flatMap { it.archiveFile }
modLoaders.add("fabric")
modLoaders.add("Java 17")
Expand Down

0 comments on commit 652f6d5

Please sign in to comment.