Skip to content

Commit aeb2048

Browse files
committed
Update to 1.20.5 and Java 21
1 parent 71924d7 commit aeb2048

File tree

5 files changed

+14
-13
lines changed

5 files changed

+14
-13
lines changed

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
plugins {
2-
id 'fabric-loom' version '1.5-SNAPSHOT'
2+
id 'fabric-loom' version '1.6-SNAPSHOT'
33
id 'maven-publish'
44
}
55

6-
sourceCompatibility = JavaVersion.VERSION_17
7-
targetCompatibility = JavaVersion.VERSION_17
6+
sourceCompatibility = JavaVersion.VERSION_21
7+
targetCompatibility = JavaVersion.VERSION_21
88

99
archivesBaseName = project.archives_base_name
1010
version = project.mod_version
@@ -36,8 +36,8 @@ processResources {
3636
// if it is present.
3737
// If you remove this task, sources will not be generated.
3838
tasks.withType(JavaCompile).configureEach {
39-
// Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
40-
it.options.release = 17
39+
// Minecraft 1.20.5 upwards uses Java 21.
40+
it.options.release = 21
4141
}
4242
java {
4343
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task

gradle.properties

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
org.gradle.jvmargs=-Xmx1G
33
# Fabric Properties
44
# check these on https://modmuss50.me/fabric.html
5-
minecraft_version=1.20
6-
yarn_mappings=1.20+build.1
7-
loader_version=0.15.7
5+
6+
minecraft_version=1.20.5
7+
yarn_mappings=1.20.5+build.1
8+
loader_version=0.15.11
89
# Mod Properties
9-
mod_version=1.3-1.20
10+
mod_version=1.3-1.20.5
1011
maven_group=capitalistspz
1112
archives_base_name=snowballkb
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

src/main/resources/fabric.mod.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
],
2121
"accessWidener" : "snowballkb.accesswidener",
2222
"depends": {
23-
"fabricloader": ">=0.14.21",
24-
"minecraft": ">=1.20"
23+
"fabricloader": ">=0.15.11",
24+
"minecraft": ">=1.20.5"
2525
}
2626
}

src/main/resources/skb.mixins.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"required": true,
33
"minVersion": "0.8",
44
"package": "capitalistspz.test.mixin",
5-
"compatibilityLevel": "JAVA_17",
5+
"compatibilityLevel": "JAVA_21",
66
"mixins": [
77
"CommandManagerMxn",
88
"EggEntityMxn",

0 commit comments

Comments
 (0)