Skip to content

Commit c8dba6d

Browse files
committed
1.20.5
1 parent 453617d commit c8dba6d

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
matrix:
1313
# Use these Java versions
1414
java: [
15-
17, # Current Java LTS & minimum supported by Minecraft
1615
21, # Current Java LTS
1716
]
1817
runs-on: ubuntu-22.04

build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ processResources {
5050
}
5151

5252
tasks.withType(JavaCompile).configureEach {
53-
it.options.release = 17
53+
it.options.release = 21
5454
}
5555

5656
java {
@@ -59,8 +59,8 @@ java {
5959
// If you remove this line, sources will not be generated.
6060
withSourcesJar()
6161

62-
sourceCompatibility = JavaVersion.VERSION_17
63-
targetCompatibility = JavaVersion.VERSION_17
62+
sourceCompatibility = JavaVersion.VERSION_21
63+
targetCompatibility = JavaVersion.VERSION_21
6464
}
6565

6666
jar {
@@ -73,6 +73,7 @@ jar {
7373
publishing {
7474
publications {
7575
create("mavenJava", MavenPublication) {
76+
artifactId = project.archives_base_name
7677
from components.java
7778
}
7879
}

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ org.gradle.parallel=true
44

55
# Fabric Properties
66
# check these on https://fabricmc.net/develop
7-
minecraft_version=1.20.4
8-
yarn_mappings=1.20.4+build.3
9-
loader_version=0.15.9
7+
minecraft_version=1.20.5
8+
yarn_mappings=1.20.5+build.1
9+
loader_version=0.15.10
1010

1111
# Mod Properties
1212
mod_version=1.0.0
1313
maven_group=com.example
1414
archives_base_name=modid
1515

1616
# Dependencies
17-
fabric_version=0.96.11+1.20.4
17+
fabric_version=0.97.5+1.20.5

src/client/resources/modid.client.mixins.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"required": true,
33
"package": "com.example.mixin.client",
4-
"compatibilityLevel": "JAVA_17",
4+
"compatibilityLevel": "JAVA_21",
55
"client": [
66
"ExampleClientMixin"
77
],

src/main/resources/fabric.mod.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
}
3131
],
3232
"depends": {
33-
"fabricloader": ">=0.15.9",
34-
"minecraft": "~1.20.4",
35-
"java": ">=17",
33+
"fabricloader": ">=0.15.10",
34+
"minecraft": "~1.20.5",
35+
"java": ">=21",
3636
"fabric-api": "*"
3737
},
3838
"suggests": {

src/main/resources/modid.mixins.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"required": true,
33
"package": "com.example.mixin",
4-
"compatibilityLevel": "JAVA_17",
4+
"compatibilityLevel": "JAVA_21",
55
"mixins": [
66
"ExampleMixin"
77
],

0 commit comments

Comments
 (0)