aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle16
-rw-r--r--gradle.properties10
-rw-r--r--gradle/wrapper/gradle-wrapper.properties4
-rw-r--r--src/main/resources/fabric.mod.json2
4 files changed, 10 insertions, 22 deletions
diff --git a/build.gradle b/build.gradle
index 9f7503ca..c5656d10 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,5 +1,5 @@
plugins {
- id 'fabric-loom' version '0.9-SNAPSHOT'
+ id 'fabric-loom' version '0.10-SNAPSHOT'
id 'maven-publish'
id 'com.modrinth.minotaur' version '1.2.+'
}
@@ -67,12 +67,6 @@ processResources {
}
tasks.withType(JavaCompile).configureEach {
- // ensure that the encoding is set to UTF-8, no matter what the system default is
- // this fixes some edge cases with special characters not displaying correctly
- // see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
- // If Javadoc is generated, this must be specified in that task too.
- it.options.encoding = "UTF-8"
-
// Minecraft 1.17 (21w19a) upwards uses Java 16.
it.options.release = 16
}
@@ -119,13 +113,7 @@ task publishModrinth(type: TaskModrinthUpload) {
publishing {
publications {
mavenJava(MavenPublication) {
- // add all the jars that should be included when publishing to maven
- artifact(remapJar) {
- builtBy remapJar
- }
- artifact(sourcesJar) {
- builtBy remapSourcesJar
- }
+ from components.java
}
}
diff --git a/gradle.properties b/gradle.properties
index 52dd1e8b..2d704f84 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -2,17 +2,17 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties (https://fabricmc.net/versions.html)
minecraft_version=1.17.1
-yarn_mappings=1.17.1+build.61
-loader_version=0.11.7
+yarn_mappings=1.17.1+build.65
+loader_version=0.12.11
#Fabric api
-fabric_version=0.40.0+1.17
+fabric_version=0.44.0+1.17
# Dependencies
## Cloth Api (https://www.curseforge.com/minecraft/mc-mods/cloth-config/files)
-clothconfig_version=5.0.38
+clothconfig_version=5.2.47
## Mod Menu (https://www.curseforge.com/minecraft/mc-mods/modmenu/files)
-mod_menu_version=2.0.4
+mod_menu_version=2.0.14
# Mod Properties
mod_version = 1.4.2
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index b3974a11..54e9a60b 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
-zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip \ No newline at end of file
+zipStorePath=wrapper/dists \ No newline at end of file
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
index 560b5f0e..250e5737 100644
--- a/src/main/resources/fabric.mod.json
+++ b/src/main/resources/fabric.mod.json
@@ -26,7 +26,7 @@
"skyblocker.mixins.json"
],
"depends": {
- "fabricloader": ">=0.11.3",
+ "fabricloader": ">=0.12.11",
"fabric": "*",
"cloth-config2": "*",
"minecraft": "1.17.x",