generated from isXander/FabricKotlinTemplate
-
-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
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:
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
Labels
No labels