From 14180a38c83c9246e28b0d5c339c8e87b2a77f8e Mon Sep 17 00:00:00 2001 From: isxander Date: Mon, 27 May 2024 00:25:19 +0100 Subject: Fix mods.toml being included in fabric jar, update to 1.20.6 target, bump version --- build.gradle.kts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build.gradle.kts') diff --git a/build.gradle.kts b/build.gradle.kts index 6dfe457..f551c2f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -20,7 +20,7 @@ val isForgeLike = isNeoforge || isForge val mcVersion = stonecutter.current.version group = "dev.isxander" -val versionWithoutMC = "3.4.2" +val versionWithoutMC = "3.4.3" version = "$versionWithoutMC+${stonecutter.current.project}" val snapshotVer = "${grgit.branch.current().name.replace('/', '.')}-SNAPSHOT" @@ -207,9 +207,11 @@ tasks { if (isFabric) { filesMatching("fabric.mod.json") { expand(props) } + exclude(listOf("META-INF/mods.toml", "META-INF/neoforge.mods.toml")) } if (isForgeLike) { filesMatching(listOf("META-INF/mods.toml", "META-INF/neoforge.mods.toml")) { expand(props) } + exclude("fabric.mod.json") } } -- cgit