Skip to content

Commit

Permalink
Fix modrinth (1.20.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blast-MC authored Dec 12, 2023
1 parent 4cb7596 commit 0d51e57
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ jar {
archiveFileName = "titan.jar"
}

remapJar {
// Set the final name of the jar! This needs to be exactly this for the auto-update function to work!
archiveFileName = "titan.jar"
}

// configure the maven publication
publishing {
publications {
Expand Down Expand Up @@ -112,10 +117,12 @@ modrinth {
projectId = "f44hEoWP"
versionNumber = project.version
uploadFile = jar
gameVersions = ["1.20.2"]
gameVersions = ["${minecraft_version}"]
loaders = ["fabric"]
uploadFile = "./build/devlibs/titan.jar"
uploadFile = "./build/libs/titan.jar"
dependencies {
required.project "fabric-api"
optional.project "cloth-config"
optional.project "modmenu"
}
}

0 comments on commit 0d51e57

Please sign in to comment.