summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorKeuin <[email protected]>2023-01-13 03:02:26 +0800
committerKeuin <[email protected]>2023-01-13 03:02:26 +0800
commitd7b2dd139f7e17d149a50a2ee777d28dac64b9eb (patch)
tree82675255e459c60b108a2d7e8424cca08169b137 /build.gradle
parent5dc6e700cbcbc01833a02a193f660a286b934898 (diff)
Upgrade loom, loader, fabric, gradle and development JDK.
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle9
1 files changed, 2 insertions, 7 deletions
diff --git a/build.gradle b/build.gradle
index 6f50530..a0678fa 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,5 +1,5 @@
plugins {
- id 'fabric-loom' version '0.5-SNAPSHOT'
+ id 'fabric-loom' version '1.0-SNAPSHOT'
id 'maven-publish'
}
@@ -34,14 +34,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