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 2b6a640 commit 5433ac0
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 @@ -278,10 +278,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 5433ac0

Please sign in to comment.