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 b1ba36a commit 9226bba
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 @@ -240,10 +240,7 @@ modrinth {
versionType = project.release_type
uploadFile = jar
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
}
Expand Down

0 comments on commit 9226bba

Please sign in to comment.