Skip to content

Commit 46bcb9e

Browse files
committed
java 25 support
1 parent a5a62d5 commit 46bcb9e

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525

2626
steps:
2727
- uses: actions/checkout@v4
28-
- name: Set up JDK 21
28+
- name: Set up JDK 25
2929
uses: actions/setup-java@v4
3030
with:
3131
distribution: 'temurin'
32-
java-version: 21
32+
java-version: 25
3333

3434
- name: Setup Gradle
3535
uses: gradle/actions/setup-gradle@v4

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55

66
// https://github.com/ReplayMod/preprocessor
77
// https://github.com/Fallen-Breath/preprocessor
8-
id 'com.replaymod.preprocess' version 'd452ef7612'
8+
id 'com.replaymod.preprocess' version '48cb0c80f7'
99

1010
// https://github.com/Fallen-Breath/yamlang
1111
id 'me.fallenbreath.yamlang' version '1.5.0' apply false

common.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ dependencies {
6464
String MIXIN_CONFIG_PATH = 'template_mod.mixins.json'
6565
String LANG_DIR = 'assets/template_mod/lang'
6666
JavaVersion JAVA_COMPATIBILITY
67-
if (mcVersion >= 12005) {
67+
if (mcVersion >= 260000) {
68+
JAVA_COMPATIBILITY = JavaVersion.VERSION_25
69+
} else if (mcVersion >= 12005) {
6870
JAVA_COMPATIBILITY = JavaVersion.VERSION_21
6971
} else if (mcVersion >= 11800) {
7072
JAVA_COMPATIBILITY = JavaVersion.VERSION_17

jitpack.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
before_install:
2-
- sdk install java 21.0.9-tem
3-
- sdk use java 21.0.9-tem
2+
- sdk install java 25.0.1-tem
3+
- sdk use java 25.0.1-tem

0 commit comments

Comments
 (0)