From 5ce03075ae152056bb7697cdfb4d9108f545eed2 Mon Sep 17 00:00:00 2001 From: Treetrain1 <39657565+Treetrain1@users.noreply.github.com> Date: Sat, 9 Dec 2023 23:03:38 -0600 Subject: [PATCH] erm actually... --- build.gradle.kts | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 763874ab5c..0db358c669 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -255,14 +255,15 @@ dependencies { tasks { processResources { - val properties = HashMap() - properties["mod_id"] = mod_id - properties["version"] = version - properties["protocol_version"] = protocol_version - properties["minecraft_version"] = "~$minecraft_version-" - - properties["fabric_api_version"] = ">=$fabric_api_version" - properties["frozenlib_version"] = ">=${frozenlib_version.split('-').firstOrNull()}-" + val properties = mapOf( + "mod_id" to mod_id, + "version" to version, + "protocol_version" to protocol_version, + "minecraft_version" to minecraft_version, + + "fabric_api_version" to ">=$fabric_api_version", + "frozenlib_version" to ">=${frozenlib_version.split('-').firstOrNull()}-" + ) properties.forEach { (a, b) -> inputs.property(a, b) }