Skip to content

Commit 844fbb9

Browse files
committed
Update minigame to Minecraft 1.20.4
1 parent f5da9a2 commit 844fbb9

File tree

4 files changed

+18
-20
lines changed

4 files changed

+18
-20
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,18 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- name: Cache
10-
uses: actions/cache@v2
11-
with:
12-
path: |
13-
~/.gradle/loom-cache
14-
~/.gradle/caches
15-
key: gradle-${{hashFiles('**/*.gradle*')}}
16-
restore-keys: gradle-
179
- name: Checkout
18-
uses: actions/checkout@v2
10+
uses: actions/checkout@v4
1911
- name: Set up Java
20-
uses: actions/setup-java@v1
12+
uses: actions/setup-java@v4
2113
with:
14+
cache: gradle
15+
distribution: microsoft
2216
java-version: 17
2317
- name: Build with Gradle
2418
run: gradle build
2519
- name: Upload Artifacts
26-
uses: actions/upload-artifact@v2
20+
uses: actions/upload-artifact@v4
2721
with:
2822
name: artifacts
2923
path: build/libs

build.gradle

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
plugins {
2-
id "fabric-loom" version "1.7.2"
2+
id "fabric-loom" version "1.8.12"
33
id "maven-publish"
44
}
55

6-
sourceCompatibility = JavaVersion.VERSION_17
7-
targetCompatibility = JavaVersion.VERSION_17
8-
96
archivesBaseName = project.archives_base_name
107
version = project.mod_version
118
group = project.maven_group
@@ -42,7 +39,13 @@ processResources {
4239
}
4340
}
4441

42+
java {
43+
sourceCompatibility = JavaVersion.VERSION_17
44+
targetCompatibility = JavaVersion.VERSION_17
45+
}
46+
4547
tasks.withType(JavaCompile) {
48+
options.release = 17
4649
options.encoding = "UTF-8"
4750
}
4851

gradle.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ mod_version = 1.0.0
55
org.gradle.jvmargs = -Xmx1G
66

77
# Versions
8-
minecraft_version = 1.20.1
9-
yarn_mappings = 1.20.1+build.10
10-
loader_version = 0.15.11
11-
fabric_version = 0.92.2+1.20.1
8+
minecraft_version = 1.20.4
9+
yarn_mappings = 1.20.4+build.3
10+
loader_version = 0.16.9
11+
fabric_version = 0.97.2+1.20.4
1212

13-
plasmid_version = 0.5.102-SNAPSHOT+1.20.1
13+
plasmid_version = 0.5.102-SNAPSHOT+1.20.4

src/main/resources/fabric.mod.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"icon": "assets/anvildrop/icon.png",
2121
"depends": {
2222
"fabricloader": ">=0.4.0",
23+
"java": ">=17",
2324
"plasmid": ">=0.5.0"
2425
}
2526
}

0 commit comments

Comments
 (0)