From c7478eb9dc781d6ab721954c256c8073ce564356 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 8 Sep 2021 21:34:37 +0200 Subject: update gradle --- build.gradle | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 5b52251..f593ba6 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'fabric-loom' version '0.2.7-SNAPSHOT' + id 'fabric-loom' version '0.7-SNAPSHOT' id 'maven-publish' } @@ -26,14 +26,9 @@ dependencies { processResources { inputs.property "version", project.version - from(sourceSets.main.resources.srcDirs) { - include "fabric.mod.json" + filesMatching("fabric.mod.json") { expand "version": project.version } - - from(sourceSets.main.resources.srcDirs) { - exclude "fabric.mod.json" - } } // ensure that the encoding is set to UTF-8, no matter what the system default is -- cgit v1.2.3