summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--build.gradle7
2 files changed, 5 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 550b373..09cd281 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,6 +24,10 @@ bin/
 .classpath
 .project
 
+# macos
+
+*.DS_Store
+
 # fabric
 
 run/
diff --git a/build.gradle b/build.gradle
index fc34cb8..220d900 100644
--- a/build.gradle
+++ b/build.gradle
@@ -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