Skip to content

Commit

Permalink
Fix broken Modrinth changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Aug 19, 2024
1 parent 511c34c commit 1498be7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,7 @@ modrinth {
versionType = project.release_type
uploadFile = shadowJar
gameVersions = [ project.minecraft_version ]
changelog = ""
if (new File("resources/changelog/${project.version}.txt").exists()) {
changelog = provider { file("resources/changelog/${project.version}.txt").getText() }
}
changelog = provider { file("resources/changelog/${project.minecraft_version}-${project.version}.txt").getText() }
dependencies { // A special DSL for creating dependencies
required.project "Z9DM0LJ4" // Cyclops Core
required.project "yYzdQHJI" // Integrated Dynamics
Expand Down

0 comments on commit 1498be7

Please sign in to comment.