diff options
author | isxander <xander@isxander.dev> | 2024-05-27 00:25:19 +0100 |
---|---|---|
committer | isxander <xander@isxander.dev> | 2024-05-27 00:25:28 +0100 |
commit | 14180a38c83c9246e28b0d5c339c8e87b2a77f8e (patch) | |
tree | b0f1644cad38b4628ed4cb61ecf7b526226f457c /build.gradle.kts | |
parent | 6be30a1c57925c749ad7b7744f2f674143380e1b (diff) | |
download | YetAnotherConfigLib-14180a38c83c9246e28b0d5c339c8e87b2a77f8e.tar.gz YetAnotherConfigLib-14180a38c83c9246e28b0d5c339c8e87b2a77f8e.tar.bz2 YetAnotherConfigLib-14180a38c83c9246e28b0d5c339c8e87b2a77f8e.zip |
Fix mods.toml being included in fabric jar, update to 1.20.6 target, bump version
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 4 |
1 files changed, 3 insertions, 1 deletions
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") } } |