Skip to content

Commit db3f82a

Browse files
authored
Merge pull request #47 from Siedlerchr/java-25
Dependabot: on Sunday
2 parents 871b534 + 31c4bb7 commit db3f82a

File tree

8 files changed

+30
-29
lines changed

8 files changed

+30
-29
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ updates:
44
directory: "/"
55
schedule:
66
interval: weekly
7+
day: sunday
78
- package-ecosystem: "github-actions"
89
directory: "/"
910
schedule:
1011
interval: weekly
12+
day: sunday

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
if: ${{ github.actor == 'dependabot[bot]' }}
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515
with:
1616
show-progress: ''
1717
- name: Merge PR

.github/workflows/gradle.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,17 @@ jobs:
2424
os: [ubuntu-latest, windows-latest, macos-14]
2525
runs-on: ${{ matrix.os }}
2626
steps:
27-
- uses: actions/checkout@v4
28-
- name: Set up JDK 21
29-
uses: actions/setup-java@v4
27+
- uses: actions/checkout@v5
28+
- name: Set up JDK 25
29+
uses: actions/setup-java@v5
3030
with:
31-
java-version: '21'
32-
distribution: 'temurin'
33-
- name: Build with Gradle
34-
uses: gradle/actions/setup-gradle@v4
31+
java-version: '25'
32+
distribution: 'corretto'
33+
- uses: gradle/actions/setup-gradle@v4
3534
- run: ./gradlew jlinkZip
3635
- name: Upload a Build Artifact
3736
uses: actions/upload-artifact@v4
3837
with:
3938
name: javafxreproducer-${{ matrix.os }}
4039
path: build/distributions
4140
compression-level: 0
42-
keepalive:
43-
name: Keepalive
44-
runs-on: ubuntu-latest
45-
permissions:
46-
actions: write
47-
steps:
48-
- uses: actions/checkout@v4
49-
- uses: gautamkrishnar/keepalive-workflow@v2

build.gradle

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
id 'application'
44
id 'org.javamodularity.moduleplugin' version '1.8.15'
55
id 'org.openjfx.javafxplugin' version '0.1.0'
6-
id 'org.beryx.jlink' version '3.1.3'
6+
id 'org.beryx.jlink' version '3.1.4-rc'
77
}
88

99
group 'org.jabreftest.test'
@@ -17,8 +17,12 @@ ext {
1717
junitVersion = '5.13.4'
1818
}
1919

20-
sourceCompatibility = '21'
21-
targetCompatibility = '21'
20+
21+
java {
22+
toolchain {
23+
languageVersion.set(JavaLanguageVersion.of(25))
24+
}
25+
}
2226

2327
tasks.withType(JavaCompile).configureEach {
2428
options.encoding = 'UTF-8'
@@ -30,7 +34,7 @@ application {
3034
}
3135

3236
javafx {
33-
version = '23'
37+
version = '25'
3438
modules = ['javafx.controls', 'javafx.fxml']
3539
}
3640

gradle/wrapper/gradle-wrapper.jar

1.95 KB
Binary file not shown.

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.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
#
4-
# Copyright © 2015-2021 the original authors.
4+
# Copyright © 2015 the original authors.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -55,7 +57,7 @@
5557
# Darwin, MinGW, and NonStop.
5658
#
5759
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5961
# within the Gradle project.
6062
#
6163
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,7 @@ done
8486
# shellcheck disable=SC2034
8587
APP_BASE_NAME=${0##*/}
8688
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87-
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
8890

8991
# Use the maximum available, or set MAX_FD != -1 to use that value.
9092
MAX_FD=maximum
@@ -112,7 +114,7 @@ case "$( uname )" in #(
112114
NONSTOP* ) nonstop=true ;;
113115
esac
114116

115-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
117+
CLASSPATH="\\\"\\\""
116118

117119

118120
# Determine the Java command to use to start the JVM.
@@ -203,15 +205,15 @@ fi
203205
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
204206

205207
# Collect all arguments for the java command:
206-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
208+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
207209
# and any embedded shellness will be escaped.
208210
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
209211
# treated as '${Hostname}' itself on the command line.
210212

211213
set -- \
212214
"-Dorg.gradle.appname=$APP_BASE_NAME" \
213215
-classpath "$CLASSPATH" \
214-
org.gradle.wrapper.GradleWrapperMain \
216+
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
215217
"$@"
216218

217219
# Stop when "xargs" is not available.

gradlew.bat

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@rem See the License for the specific language governing permissions and
1414
@rem limitations under the License.
1515
@rem
16+
@rem SPDX-License-Identifier: Apache-2.0
17+
@rem
1618

1719
@if "%DEBUG%"=="" @echo off
1820
@rem ##########################################################################
@@ -68,11 +70,11 @@ goto fail
6870
:execute
6971
@rem Setup the command line
7072

71-
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73+
set CLASSPATH=
7274

7375

7476
@rem Execute Gradle
75-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
77+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
7678

7779
:end
7880
@rem End local scope for the variables with windows NT shell

0 commit comments

Comments
 (0)