Debugify

Debugify

16M Downloads

[Nitpick] Literal newline in `fabric.mod.json` of 1.20.4+1.1 artifact

YoshiRulz opened this issue ยท 0 comments

commented

This doesn't seem to be a problem for the Fabric loader, but a strict parser like jq's will choke on literal newlines in strings.
I believe the cause may be that this is a naive string replacement:

Debugify/build.gradle.kts

Lines 114 to 131 in 0e10435

tasks.processResources {
val modDescription = """
Fixes Minecraft bugs found on the bug tracker
License stuff:
j-Tai's TieFix - Code used licensed under LGPLv3
FlashyReese's Sodium Extra - Code used licensed under LGPLv3
Ampflower's 2x2 Surrounded Saplings Fix - Code used licensed under Zlib
""".trimIndent()
inputs.property("version", project.version)
inputs.property("description", modDescription)
filesMatching(listOf("fabric.mod.json", "quilt.mod.json")) {
expand(
"version" to project.version,
"description" to modDescription,
)
}
}