Skip to content

Commit 23bbf7b

Browse files
committed
24w14a
1 parent 0061e1d commit 23bbf7b

File tree

10 files changed

+25
-27
lines changed

10 files changed

+25
-27
lines changed

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0
19-
- name: Set up JDK 17
19+
- name: Set up JDK 21
2020
uses: actions/setup-java@v4
2121
with:
2222
distribution: 'temurin'
23-
java-version: 17
23+
java-version: 21
2424
check-latest: true
2525
- name: Setup Gradle
2626
uses: gradle/actions/setup-gradle@v3

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
17-
- name: Set up JDK 17
17+
- name: Set up JDK 21
1818
uses: actions/setup-java@v4
1919
with:
2020
distribution: 'temurin'
21-
java-version: 17
21+
java-version: 21
2222
check-latest: true
2323
- name: Remove tags for release on other versions
2424
run: ./scripts/tagcleaner.sh

annotation-processor/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ dependencies {
3131
}
3232

3333
tasks.withType(JavaCompile) {
34-
options.compilerArgs += '--enable-preview'
35-
options.release = 17
34+
options.release = 21
3635
}
3736

3837
shadowJar {

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
plugins {
22
id "architectury-plugin" version "3.4-SNAPSHOT"
3-
id "dev.architectury.loom" version "1.5-SNAPSHOT" apply false
3+
id "dev.architectury.loom" version "1.6-SNAPSHOT" apply false
44
id "maven-publish"
55
id 'com.matthewprenger.cursegradle' version '1.4.0' apply false
66
id 'com.palantir.git-version' version '1.0.0'
77
id 'org.ajoberstar.grgit' version '5.2.0'
88
id 'se.bjurr.gitchangelog.git-changelog-gradle-plugin' version '1.79.0'
99
id "com.modrinth.minotaur" version "2.+" apply false
10-
id("com.diffplug.spotless") version "6.18.0" apply false
10+
id("com.diffplug.spotless") version "6.25.0" apply false
1111
id 'modernfix.common-conventions' apply false
1212
}
1313

buildSrc/src/main/groovy/modernfix.common-conventions.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def versionString = "${baseVersion}${preMarker}+mc${minecraft_version}${commitHa
3535
version = versionString
3636
archivesBaseName = rootProject.archives_base_name + '-' + project.name
3737

38-
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_17
38+
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_21
3939

4040
repositories {
4141
exclusiveContent {

buildSrc/src/main/groovy/modernfix.mod-common-conventions.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ tasks {
3232

3333
tasks.withType(JavaCompile) {
3434
options.fork = true
35-
options.forkOptions.jvmArgs << '--enable-preview'
3635
configure(options) {
3736
if (!name.toLowerCase().contains('test')) {
3837
options.compilerArgs << "-ArootProject.name=${rootProject.name}" << "-Aproject.name=${project.name}"

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ junit_version=5.10.0-M1
55
mixinextras_version=0.3.2
66

77
mod_id=modernfix
8-
minecraft_version=24w13a
8+
minecraft_version=24w14a
99
enabled_platforms=fabric
1010
forge_version=20.4.190
1111
# parchment_version=2023.07.09
@@ -15,10 +15,10 @@ rei_version=13.0.678
1515
ctm_version=1.20.1-1.1.8+4
1616
kubejs_version=1902.6.0-build.142
1717
rhino_version=1902.2.2-build.268
18-
supported_minecraft_versions=24w13a
18+
supported_minecraft_versions=24w14a
1919

20-
fabric_loader_version=0.15.6
21-
fabric_api_version=0.96.13+1.20.5
20+
fabric_loader_version=0.15.9
21+
fabric_api_version=0.96.14+1.20.5
2222

2323
continuity_version=3.0.0-beta.4+1.20.2
2424

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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.6-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ fi
200200

201201

202202
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
203-
DEFAULT_JVM_OPTS='-Dfile.encoding=UTF-8 "-Xmx64m" "-Xms64m"'
203+
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
204204

205205
# Collect all arguments for the java command:
206206
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,

gradlew.bat

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ set APP_HOME=%DIRNAME%
3434
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
3535

3636
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
37-
set DEFAULT_JVM_OPTS=-Dfile.encoding=UTF-8 "-Xmx64m" "-Xms64m"
37+
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
3838

3939
@rem Find java.exe
4040
if defined JAVA_HOME goto findJavaFromJavaHome
@@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
4343
%JAVA_EXE% -version >NUL 2>&1
4444
if %ERRORLEVEL% equ 0 goto execute
4545

46-
echo. 1>&2
47-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
48-
echo. 1>&2
49-
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
50-
echo location of your Java installation. 1>&2
46+
echo.
47+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48+
echo.
49+
echo Please set the JAVA_HOME variable in your environment to match the
50+
echo location of your Java installation.
5151

5252
goto fail
5353

@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5757

5858
if exist "%JAVA_EXE%" goto execute
5959

60-
echo. 1>&2
61-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
62-
echo. 1>&2
63-
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
64-
echo location of your Java installation. 1>&2
60+
echo.
61+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62+
echo.
63+
echo Please set the JAVA_HOME variable in your environment to match the
64+
echo location of your Java installation.
6565

6666
goto fail
6767

0 commit comments

Comments
 (0)