From 0d15a292d134e08b091a0b7816d1ea64fe10c8e3 Mon Sep 17 00:00:00 2001 From: Kosma Moczek Date: Sun, 27 Jun 2021 19:41:51 +0200 Subject: [PATCH] forge-*: fix resource patching --- forge-1.13.2/build.gradle | 2 +- forge-1.14.4/build.gradle | 2 +- forge-1.15.2/build.gradle | 2 +- forge-1.16.1/build.gradle | 2 +- forge-1.16.2/build.gradle | 2 +- forge-1.16.3/build.gradle | 2 +- forge-1.16.4/build.gradle | 2 +- forge-1.16.5/build.gradle | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/forge-1.13.2/build.gradle b/forge-1.13.2/build.gradle index a7ce08ba..b25440c5 100644 --- a/forge-1.13.2/build.gradle +++ b/forge-1.13.2/build.gradle @@ -37,7 +37,7 @@ project.archivesBaseName = "${project.archivesBaseName}-forge-1.13.2" processResources { - filesMatching('mods.toml') { + filesMatching('META-INF/mods.toml') { // replace version and mcversion expand( version: project.version + '-' + project.ext.buildNumber, diff --git a/forge-1.14.4/build.gradle b/forge-1.14.4/build.gradle index 2242c17b..872b0684 100644 --- a/forge-1.14.4/build.gradle +++ b/forge-1.14.4/build.gradle @@ -35,7 +35,7 @@ dependencies { processResources { - filesMatching('mods.toml') { + filesMatching('META-INF/mods.toml') { // replace version and mcversion expand( version: project.version + '-' + project.ext.buildNumber, diff --git a/forge-1.15.2/build.gradle b/forge-1.15.2/build.gradle index 72b51449..9892576f 100644 --- a/forge-1.15.2/build.gradle +++ b/forge-1.15.2/build.gradle @@ -35,7 +35,7 @@ dependencies { processResources { - filesMatching('mods.toml') { + filesMatching('META-INF/mods.toml') { // replace version and mcversion expand( version: project.version + '-' + project.ext.buildNumber, diff --git a/forge-1.16.1/build.gradle b/forge-1.16.1/build.gradle index f94245de..acbcc970 100644 --- a/forge-1.16.1/build.gradle +++ b/forge-1.16.1/build.gradle @@ -35,7 +35,7 @@ dependencies { processResources { - filesMatching('mods.toml') { + filesMatching('META-INF/mods.toml') { // replace version and mcversion expand( version: project.version + '-' + project.ext.buildNumber, diff --git a/forge-1.16.2/build.gradle b/forge-1.16.2/build.gradle index 847e1502..5fe6e9bf 100644 --- a/forge-1.16.2/build.gradle +++ b/forge-1.16.2/build.gradle @@ -35,7 +35,7 @@ dependencies { processResources { - filesMatching('mods.toml') { + filesMatching('META-INF/mods.toml') { // replace version and mcversion expand( version: project.version + '-' + project.ext.buildNumber, diff --git a/forge-1.16.3/build.gradle b/forge-1.16.3/build.gradle index f05998dd..af5d1378 100644 --- a/forge-1.16.3/build.gradle +++ b/forge-1.16.3/build.gradle @@ -35,7 +35,7 @@ dependencies { processResources { - filesMatching('mods.toml') { + filesMatching('META-INF/mods.toml') { // replace version and mcversion expand( version: project.version + '-' + project.ext.buildNumber, diff --git a/forge-1.16.4/build.gradle b/forge-1.16.4/build.gradle index 82e5041b..e38b1b3a 100644 --- a/forge-1.16.4/build.gradle +++ b/forge-1.16.4/build.gradle @@ -35,7 +35,7 @@ dependencies { processResources { - filesMatching('mods.toml') { + filesMatching('META-INF/mods.toml') { // replace version and mcversion expand( version: project.version + '-' + project.ext.buildNumber, diff --git a/forge-1.16.5/build.gradle b/forge-1.16.5/build.gradle index 9ca23271..8576ff29 100644 --- a/forge-1.16.5/build.gradle +++ b/forge-1.16.5/build.gradle @@ -35,7 +35,7 @@ dependencies { processResources { - filesMatching('mods.toml') { + filesMatching('META-INF/mods.toml') { // replace version and mcversion expand( version: project.version + '-' + project.ext.buildNumber,