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 baccafa commit d580722
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 @@ -271,10 +271,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
}
Expand Down

0 comments on commit d580722

Please sign in to comment.