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 710a0e4 commit bdde852
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 @@ -303,10 +303,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 "oFXrCkDI" // Common Capabilities
Expand Down

0 comments on commit bdde852

Please sign in to comment.