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