Skip to content

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

@YoshiRulz

Description

@YoshiRulz

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,
)
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions