Skip to content

Commit 94296eb

Browse files
committed
Java 21 Bump
The latest Loom version requires Java 21 minimum.
1 parent 8219e06 commit 94296eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
matrix:
1313
# Use these Java versions
1414
java: [
15-
17, # Current Java LTS & minimum supported by Minecraft
15+
21, # Current Java LTS & minimum supported by Minecraft
1616
]
1717
# and run on both Linux and Windows
1818
os: [ubuntu-latest, windows-latest]
@@ -34,7 +34,7 @@ jobs:
3434
- name: build
3535
run: ./gradlew build
3636
- name: capture build artifacts
37-
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
37+
if: ${{ runner.os == 'Linux' && matrix.java == '21' }} # Only upload artifacts built from latest java on one OS
3838
uses: actions/upload-artifact@v5
3939
with:
4040
name: Artifacts

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Template for making Babric mods for BTA!
55
**Note: *DO NOT fork this repository unless you want to contribute!***
66

77
## Prerequisites
8-
- JDK for Java 17 ([Eclipse Temurin](https://adoptium.net/temurin/releases/) recommended)
8+
- JDK for Java 21 ([Eclipse Temurin](https://adoptium.net/temurin/releases/) recommended)
99
- [Intellij IDEA](https://www.jetbrains.com/idea/download/) (Scroll down for the free community edition, if using linux **DO NOT** use the flatpak distribution)
1010
- Minecraft Development plugin (Optional, but highly recommended)
1111

0 commit comments

Comments
 (0)