Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
c8ab7ce
Update to JDK25
koppor Sep 29, 2025
9afbfe1
No more icon
koppor Sep 29, 2025
e6ec58d
Merge remote-tracking branch 'origin/main' into jdk25
koppor Sep 29, 2025
eeb401d
Try other icon file names
koppor Sep 29, 2025
5ee1ebf
Merge remote-tracking branch 'origin/main' into jdk25
koppor Sep 29, 2025
a0a1fb9
Lowercase
koppor Sep 29, 2025
d061dee
Merge remote-tracking branch 'origin/main' into jdk25
koppor Sep 29, 2025
e19eeea
Remove *** from build output
koppor Sep 29, 2025
4888971
Try to fix *.icns
koppor Sep 30, 2025
f714d92
Maybe all lowercase works
koppor Sep 30, 2025
d7f5171
Try to include more files
koppor Sep 30, 2025
e3554f2
Try JavaApp.icns
koppor Sep 30, 2025
4558156
Try two times JabRef.icns
koppor Sep 30, 2025
1234af3
Revert last changes
koppor Sep 30, 2025
8dd46b1
Relative path for jabref.icns
koppor Sep 30, 2025
84a9a01
Icon comes from other ways
koppor Sep 30, 2025
5daa552
Fix path to .icns
koppor Sep 30, 2025
49e6dae
Add missing dot
koppor Sep 30, 2025
03437b2
Disable modernizer
koppor Sep 30, 2025
7d3fd7a
No more JabKit (jbang works fine)
koppor Sep 30, 2025
20aa273
Try to fix icons
koppor Oct 1, 2025
b254b9a
Update JBang
koppor Oct 1, 2025
768bce0
Update JBang scripts
koppor Oct 1, 2025
9910ffe
Revert "Try to fix icons"
koppor Oct 1, 2025
2f73f53
Fix casing of JabRef.icns
koppor Oct 1, 2025
292adc2
Merge branch 'main' into jdk25
koppor Oct 1, 2025
e1de30a
Merge branch 'main' into jdk25
koppor Oct 1, 2025
50c9471
Merge remote-tracking branch 'upstream/main' into jdk25
Siedlerchr Oct 1, 2025
886c48b
Try to fix notarization
koppor Oct 1, 2025
9ec90b0
Fix notarization
koppor Oct 2, 2025
053582a
Remove default Rutnime-Info.plist* files
koppor Oct 2, 2025
2072159
Remove Info.plist*
koppor Oct 2, 2025
d392eaa
Remove Info-lite.plist*
koppor Oct 2, 2025
31221f5
Linebreak in README.md
koppor Oct 2, 2025
871bbca
Remove "public" for Java25 main methods
koppor Oct 2, 2025
7d68cf8
Really remove public for JDK25 main methods
koppor Oct 2, 2025
457f529
Fix "public"
koppor Oct 2, 2025
5ffaed3
Merge branch 'main' into jdk25
Siedlerchr Oct 6, 2025
010a2fe
Merge remote-tracking branch 'origin/main' into just-jdk25
koppor Oct 9, 2025
8b6885a
Merge remote-tracking branch 'origin/main' into just-jdk25
koppor Oct 11, 2025
a347b2f
Merge branch 'main' into just-jdk25
koppor Oct 22, 2025
634b4ac
Switch to Temurin in IntelliJ
koppor Oct 22, 2025
8389560
Merge remote-tracking branch 'origin/main' into just-jdk25
koppor Oct 30, 2025
a196c72
Add jabls to notarization
koppor Oct 30, 2025
6d8281d
Merge remote-tracking branch 'origin/main' into just-jdk25
koppor Oct 30, 2025
c001f38
Merge branch 'main' into just-jdk25
koppor Nov 2, 2025
8ccd1c9
Merge branch 'main' into just-jdk25
koppor Nov 14, 2025
b8b434f
Change suffixes
koppor Nov 14, 2025
4f7f54a
Update Ubuntu from 22.04 to 24.04
koppor Nov 14, 2025
ccd4a87
Fix JavaLanguageVersion
koppor Nov 14, 2025
ead9b0d
Merge remote-tracking branch 'origin/main' into just-jdk25
koppor Nov 14, 2025
f6ac1a2
Switch back to ubuntu 22.04
koppor Nov 14, 2025
cd50037
Merge remote-tracking branch 'origin/main' into just-jdk25
koppor Nov 19, 2025
673b148
Merge branch 'main' into just-jdk25
koppor Nov 28, 2025
c3f7b97
Add empty line to prevent merge conflicts
koppor Nov 28, 2025
4f69871
Merge branch 'main' into just-jdk25
koppor Dec 2, 2025
66bba60
Merge branch 'main' into just-jdk25
koppor Dec 17, 2025
16937c2
Merge branch 'main' into just-jdk25
koppor Dec 23, 2025
20ac474
Merge branch 'main' into just-jdk25
koppor Dec 26, 2025
f3be078
Merge branch 'main' into just-jdk25
koppor Jan 16, 2026
542ceae
Fix CHANGELOG.md position
koppor Jan 16, 2026
80c4348
Remove merge leftovers
koppor Jan 16, 2026
af02c45
Revert changes in Project.xml
koppor Jan 16, 2026
367dd04
Streamline number of files required to update
koppor Jan 17, 2026
70d8150
Fix some grammar mistakes
koppor Jan 17, 2026
c7fad24
Merge remote-tracking branch 'origin/main' into just-jdk25
koppor Jan 17, 2026
0f16d0a
Merge branch 'main' into just-jdk25
Siedlerchr Jan 21, 2026
f981cf7
readd mac os resources
Siedlerchr Jan 21, 2026
2a2d5a3
update javafx to25.02 and see if they have it for arm
Siedlerchr Jan 21, 2026
7cc83c2
Merge remote-tracking branch 'origin/main' into just-jdk25
koppor Jan 21, 2026
3447480
Merge branch 'main' into just-jdk25
koppor Jan 21, 2026
e0c42bd
remove plist lite
Siedlerchr Jan 21, 2026
7864c86
Merge remote-tracking branch 'upstream/just-jdk25' into just-jdk25
Siedlerchr Jan 21, 2026
28447f7
Fix JavaDoc task
koppor Jan 21, 2026
0db2693
Merge branch 'main' into just-jdk25
koppor Jan 21, 2026
c0cf299
Merge branch 'main' into just-jdk25
koppor Jan 22, 2026
2504759
Refine check
koppor Jan 22, 2026
9a9d4c5
Fix directory name
koppor Jan 22, 2026
78e76ad
Try other command
koppor Jan 22, 2026
b27a3d0
Trigger build
koppor Jan 22, 2026
a50cea8
Change icon
koppor Jan 22, 2026
0aa4207
More output
koppor Jan 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
// Install java.
// See https://github.com/devcontainers/features/tree/main/src/java#options for details.
"ghcr.io/devcontainers/features/java:1": {
"version": "24.0.2-amzn",
"version": "latest",
"installGradle": true,
"gradleVersion": "8.14.3",
"gradleVersion": "latest",
"jdkDistro": "Corretto"
}
}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-gradle/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
- name: Setup JDK
uses: actions/setup-java@v5
with:
java-version: '24'
java-version: '25'
distribution: 'corretto'
check-latest: true
- name: Setup Gradle
Expand Down
99 changes: 64 additions & 35 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,20 @@ jobs:
id: diskspace
shell: bash
run: |
PR_NUMBER="${{ github.event.pull_request.number }}"
TARGET="/var/www/builds.jabref.org/www/pull/$PR_NUMBER"
SSH_OPTS="-p 9922 -i sshkey -o StrictHostKeyChecking=no"
HOST="jrrsync@build-upload.jabref.org"
if ssh $SSH_OPTS "$HOST" "test -d '$TARGET'"; then
echo "☁️ Target exists: $TARGET - will upload"
echo "☁️ Target exists: $TARGET - will upload" >> $GITHUB_STEP_SUMMARY
echo "available=true" >> "$GITHUB_OUTPUT"
exit 0
fi

echo "🤔 Target does not exist: $TARGET"
echo "🤔 Target does not exist: $TARGET" >> $GITHUB_STEP_SUMMARY

USAGE=$(ssh -p 9922 -i sshkey -o StrictHostKeyChecking=no jrrsync@build-upload.jabref.org \
"df --output=pcent /var/www/builds.jabref.org | tail -n1 | tr -dc '0-9'")
echo "Remote usage: ${USAGE}%"
Expand Down Expand Up @@ -193,40 +207,40 @@ jobs:
matrix:
include:
# if you change the os version rename all other occurrences
- os: ubuntu-22.04
displayName: linux
- os: ubuntu-22.04 # if this is adapted, also the next lines need to be adapted
displayName: linux-amd64
archivePortable: tar -c -C jabgui/build/packages/ubuntu-22.04 JabRef | pigz --rsyncable > jabgui/build/packages/ubuntu-22.04/JabRef-portable_linux.tar.gz && rm -R jabgui/build/packages/ubuntu-22.04/JabRef
archivePortableJabKit: tar -c -C jabkit/build/packages/ubuntu-22.04 jabkit | pigz --rsyncable > jabkit/build/packages/ubuntu-22.04/jabkit-portable_linux.tar.gz && rm -R jabkit/build/packages/ubuntu-22.04/jabkit
archivePortableJabLS: tar -c -C jabls-cli/build/packages/ubuntu-22.04 jabls | pigz --rsyncable > jabls-cli/build/packages/ubuntu-22.04/jabls-portable_linux.tar.gz && rm -R jabls-cli/build/packages/ubuntu-22.04/jabls
suffix: ''
archForDebianRepack: '_amd64'
- os: ubuntu-22.04-arm
- os: ubuntu-22.04-arm # if this is adapted, also the next lines need to be adapted
displayName: linux-arm
archivePortable: tar -c -C jabgui/build/packages/ubuntu-22.04-arm JabRef | pigz --rsyncable > jabgui/build/packages/ubuntu-22.04-arm/JabRef-portable_linux_arm64.tar.gz && rm -R jabgui/build/packages/ubuntu-22.04-arm/JabRef
archivePortableJabKit: tar -c -C jabkit/build/packages/ubuntu-22.04-arm jabkit | pigz --rsyncable > jabkit/build/packages/ubuntu-22.04-arm/jabkit-portable_linux_arm64.tar.gz && rm -R jabkit/build/packages/ubuntu-22.04-arm/jabkit
archivePortableJabLS: tar -c -C jabls-cli/build/packages/ubuntu-22.04-arm jabls | pigz --rsyncable > jabls-cli/build/packages/ubuntu-22.04-arm/jabls-portable_linux_arm64.tar.gz && rm -R jabls-cli/build/packages/ubuntu-22.04-arm/jabls
suffix: '_arm64'
archForDebianRepack: '_arm64'
- os: windows-latest
displayName: windows
displayName: windows-amd64
archivePortable: 7z a -r jabgui/build/packages/windows-latest/JabRef-portable_windows.zip ./jabgui/build/packages/windows-latest/JabRef && rm -R jabgui/build/packages/windows-latest/JabRef
archivePortableJabKit: 7z a -r jabkit/build/packages/windows-latest/jabkit-portable_windows.zip ./jabkit/build/packages/windows-latest/jabkit && rm -R jabkit/build/packages/windows-latest/jabkit
archivePortableJabLS: 7z a -r jabls-cli/build/packages/windows-latest/jabls-portable_windows.zip ./jabls-cli/build/packages/windows-latest/jabls && rm -R jabls-cli/build/packages/windows-latest/jabls
suffix: ''
archForDebianRepack: ''
- os: macos-15-intel # intel image
displayName: macOS
archivePortable: 7z a -r jabgui/build/packages/macos-15-intel/JabRef-portable_macos.zip ./jabgui/build/packages/macos-15-intel/JabRef.app && rm -R jabgui/build/packages/macos-15-intel/JabRef.app
archivePortableJabKit: 7z a -r jabkit/build/packages/macos-15-intel/jabkit-portable_macos.zip ./jabkit/build/packages/macos-15-intel/jabkit.app && rm -R jabkit/build/packages/macos-15-intel/jabkit.app
archivePortableJabLS: 7z a -r jabls-cli/build/packages/macos-15-intel/jabls-portable_macos.zip ./jabls-cli/build/packages/macos-15-intel/jabls.app && rm -R jabls-cli/build/packages/macos-15-intel/jabls.app
suffix: ''
- os: macos-15-intel
displayName: macOS-intel
archivePortable: 7z a -r jabgui/build/packages/macos-15-intel/JabRef-portable_macos-intel.zip ./jabgui/build/packages/macos-15-intel/JabRef.app && rm -R jabgui/build/packages/macos-15-intel/JabRef.app
archivePortableJabKit: 7z a -r jabkit/build/packages/macos-15-intel/jabkit-portable_macos-intel.zip ./jabkit/build/packages/macos-15-intel/jabkit.app && rm -R jabkit/build/packages/macos-15-intel/jabkit.app
archivePortableJabLS: 7z a -r jabls-cli/build/packages/macos-15-intel/jabls-portable_macos-intel.zip ./jabls-cli/build/packages/macos-15-intel/jabls.app && rm -R jabls-cli/build/packages/macos-15-intel/jabls.app
suffix: '_intel'
archForDebianRepack: ''
- os: macos-15
displayName: macOS-arm
archivePortable: 7z a -r jabgui/build/packages/macos-15/JabRef-portable_macos-arm.zip ./jabgui/build/packages/macos-15/JabRef.app && rm -R jabgui/build/packages/macos-15/JabRef.app
archivePortableJabKit: 7z a -r jabkit/build/packages/macos-15/jabkit-portable_macos-arm.zip ./jabkit/build/packages/macos-15/jabkit.app && rm -R jabkit/build/packages/macos-15/jabkit.app
archivePortableJabLS: 7z a -r jabls-cli/build/packages/macos-15/jabls-portable_macos-arm.zip ./jabls-cli/build/packages/macos-15/jabls.app && rm -R jabls-cli/build/packages/macos-15/jabls.app
suffix: '_arm64'
displayName: macOS-silicon
archivePortable: 7z a -r jabgui/build/packages/macos-15/JabRef-portable_macos-silicon.zip ./jabgui/build/packages/macos-15/JabRef.app && rm -R jabgui/build/packages/macos-15/JabRef.app
archivePortableJabKit: 7z a -r jabkit/build/packages/macos-15/jabkit-portable_macos-silicon.zip ./jabkit/build/packages/macos-15/jabkit.app && rm -R jabkit/build/packages/macos-15/jabkit.app
archivePortableJabLS: 7z a -r jabls-cli/build/packages/macos-15/jabls-portable_macos-silicon.zip ./jabls-cli/build/packages/macos-15/jabls.app && rm -R jabls-cli/build/packages/macos-15/jabls.app
suffix: '_silicon'
archForDebianRepack: ''
runs-on: ${{ matrix.os }}
outputs:
Expand All @@ -235,6 +249,12 @@ jobs:
branchname: ${{ steps.gitversion.outputs.branchName }}
name: ${{ matrix.displayName }} installer and portable version
steps:
- name: Install pigz and cache (linux)
if: (startsWith(matrix.os, 'ubuntu'))
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: pigz
version: 1.0
- name: Fetch all history for all tags and branches
uses: actions/checkout@v6
with:
Expand All @@ -249,27 +269,22 @@ jobs:
id: gitversion
uses: gittools/actions/gitversion/execute@v3.2.1
- uses: ./.github/actions/setup-gradle
- name: Install pigz and cache (linux)
if: (startsWith(matrix.os, 'ubuntu'))
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: pigz
version: 1.0

- name: Setup macOS key chain
if: (startsWith(matrix.os, 'macos')) && (needs.conditions.outputs.secretspresent == 'true')
uses: slidoapp/import-codesign-certs@1923310662e8682dd05b76b612b53301f431cd5d
with:
p12-file-base64: ${{ secrets.OSX_SIGNING_CERT }}
p12-password: ${{ secrets.OSX_CERT_PWD }}
keychain-password: jabref
keychain-password: tEmPoRaRY-PaeSWD
- name: Setup macOS key chain for app id cert
if: (startsWith(matrix.os, 'macos')) && (needs.conditions.outputs.secretspresent == 'true')
uses: slidoapp/import-codesign-certs@1923310662e8682dd05b76b612b53301f431cd5d
with:
p12-file-base64: ${{ secrets.OSX_SIGNING_CERT_APPLICATION }}
p12-password: ${{ secrets.OSX_CERT_PWD }}
create-keychain: false
keychain-password: jabref
keychain-password: tEmPoRaRY-PaeSWD
- name: Build runtime image and installer
shell: bash
run: ./gradlew -i -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" :jabgui:jpackage
Expand Down Expand Up @@ -387,7 +402,7 @@ jobs:
name: JabRef-${{ matrix.os }}-tbn
path: |
jabgui/build/packages/${{ matrix.os }}
jabkit/build/packages/${{ matrix.os }}
jabls-cli/build/packages/${{ matrix.os }}
compression-level: 0 # no compression
# endregion

Expand Down Expand Up @@ -466,11 +481,25 @@ jobs:
matrix:
include:
- os: macos-15
displayName: macOS (ARM64)
suffix: _arm64
displayName: JabGui macOS (ARM64)
path: 'jabgui'
prefix: 'JabRef'
suffix: '_silicon'
- os: macos-15-intel
displayName: JabGui macOS (intel)
path: 'jabgui'
prefix: 'JabRef'
suffix: '_intel'
- os: macos-15
displayName: jabls macOS (ARM64)
path: 'jabls'
prefix: 'jabls'
suffix: '_silicon'
- os: macos-15-intel
displayName: macOS (ARM64)
suffix: ""
displayName: jabls macOS (intel)
path: 'jabls'
prefix: 'jabls'
suffix: '_intel'
runs-on: ${{ matrix.os }}
steps:
- name: Download from GitHub workflow artifacts store (macOS)
Expand All @@ -480,21 +509,21 @@ jobs:
- name: Notarize dmg
shell: bash
run: |
cd jabgui
cd ${{ matrix.path }}
find . -type f
xcrun notarytool store-credentials "notarytool-profile" --apple-id "vorstand@jabref.org" --team-id "6792V39SK3" --password "${{ secrets.OSX_NOTARIZATION_APP_PWD }}"
xcrun notarytool submit build/packages/${{ matrix.os }}/JabRef-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}${{ matrix.suffix}}.dmg --keychain-profile "notarytool-profile" --wait
xcrun stapler staple build/packages/${{ matrix.os }}/JabRef-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}${{ matrix.suffix}}.dmg
xcrun notarytool submit build/packages/${{ matrix.os }}/${{ matrix.prefix }}-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}${{ matrix.suffix}}.dmg --keychain-profile "notarytool-profile" --wait
xcrun stapler staple build/packages/${{ matrix.os }}/${{ matrix.prefix }}-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}${{ matrix.suffix}}.dmg
- name: Notarize pkg
shell: bash
run: |
cd jabgui
cd ${{ matrix.path }}
xcrun notarytool store-credentials "notarytool-profile" --apple-id "vorstand@jabref.org" --team-id "6792V39SK3" --password "${{ secrets.OSX_NOTARIZATION_APP_PWD }}"
xcrun notarytool submit build/packages/${{ matrix.os }}/JabRef-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}${{ matrix.suffix}}.pkg --keychain-profile "notarytool-profile" --wait
xcrun stapler staple build/packages/${{ matrix.os }}/JabRef-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}${{ matrix.suffix}}.pkg
xcrun notarytool submit build/packages/${{ matrix.os }}/${{ matrix.prefix }}-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}${{ matrix.suffix}}.pkg --keychain-profile "notarytool-profile" --wait
xcrun stapler staple build/packages/${{ matrix.os }}/${{ matrix.prefix }}-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}${{ matrix.suffix}}.pkg
- name: Upload to builds.jabref.org
shell: bash
run: |
echo "${{ secrets.buildJabRefPrivateKey }}" > sshkey
chmod 600 sshkey
rsync -rt --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r --itemize-changes --stats --rsync-path="mkdir -p /var/www/builds.jabref.org/www/${{ needs.build.outputs.branchname }} && rsync" -e 'ssh -p 9922 -i sshkey -o StrictHostKeyChecking=no' jabgui/build/packages/${{ matrix.os }}/ jrrsync@build-upload.jabref.org:/var/www/builds.jabref.org/www/${{ needs.build.outputs.branchname }}/
rsync -rt --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r --itemize-changes --stats --rsync-path="mkdir -p /var/www/builds.jabref.org/www/${{ needs.build.outputs.branchname }} && rsync" -e 'ssh -p 9922 -i sshkey -o StrictHostKeyChecking=no' ${{ matrix.path }}/build/packages/${{ matrix.os }}/ jrrsync@build-upload.jabref.org:/var/www/builds.jabref.org/www/${{ needs.build.outputs.branchname }}/
4 changes: 1 addition & 3 deletions .github/workflows/sbom-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
steps:
- name: Checkout source
uses: actions/checkout@v6
with:
submodules: 'true'
show-progress: 'false'

- uses: ./.github/actions/setup-gradle

- name: Generate aggregated CycloneDX SBOM
Expand Down
32 changes: 5 additions & 27 deletions .github/workflows/tests-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ jobs:
modernizer:
name: Modernizer
runs-on: ubuntu-latest
# Version 1.11.0 does not run on JDK25: "java.lang.reflect.InvocationTargetException"
if: false
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is now version 1.12

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow UP task

steps:
- name: Checkout source
uses: actions/checkout@v6
Expand Down Expand Up @@ -456,7 +458,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 24
java-version: 25
distribution: 'corretto'
cache: maven
check-latest: true
Expand Down Expand Up @@ -510,7 +512,6 @@ jobs:
steps:
- name: Check secrets presence
id: checksecrets
if: github.ref == 'refs/heads/main'
shell: bash
run: |
if [ "$CODECOV_TOKEN" == "" ]; then
Expand All @@ -523,34 +524,11 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Checkout source
if: github.ref == 'refs/heads/main'
uses: actions/checkout@v6
with:
submodules: 'true'
show-progress: 'false'
- name: Set up JDK
if: github.ref == 'refs/heads/main'
uses: actions/setup-java@v5
with:
java-version: 24
distribution: 'corretto'
check-latest: true
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
- name: Generate JBang cache key
id: cache-key
shell: bash
run: |
echo "cache_key=jbang-$(date +%Y-%m)" >> $GITHUB_OUTPUT
- name: Use cache
uses: actions/cache/restore@v5
with:
path: ~/.jbang
key: ${{ steps.cache-key.outputs.cache_key }}
restore-keys:
jbang-
- name: Setup JBang
uses: jbangdev/setup-jbang@main
- uses: ./.github/actions/setup-gradle
- name: Update test coverage metrics
if: (github.ref == 'refs/heads/main') && (steps.checksecrets.outputs.secretspresent == 'YES')
run: xvfb-run --auto-servernum ./gradlew jacocoTestReport
Expand Down Expand Up @@ -578,7 +556,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 24
java-version: 25
distribution: 'corretto'
check-latest: true
- name: Setup Gradle
Expand Down
2 changes: 1 addition & 1 deletion .jbang/CheckoutPR.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
//DEPS org.eclipse.jgit:org.eclipse.jgit.pgm:7.5.0.202512021534-r

public class CheckoutPR {
public static void main(String[] args) throws Exception {
static void main(String[] args) throws Exception {
GitHub github = new GitHubBuilder().build();
GHRepository repo = github.getRepository("JabRef/jabref");

Expand Down
2 changes: 1 addition & 1 deletion .jbang/CloneJabRef.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//DEPS org.eclipse.jgit:org.eclipse.jgit.pgm:7.5.0.202512021534-r

public class CloneJabRef {
public static void main(String[] args) throws Exception {
static void main(String[] args) throws Exception {
Path targetDir;
if (args.length == 1) {
targetDir = Path.of(args[0]).toAbsolutePath();
Expand Down
2 changes: 1 addition & 1 deletion .jbang/JabKitLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

//DESCRIPTION jabkit - mange BibTeX files using JabRef

//JAVA 24+
//JAVA 25+
//RUNTIME_OPTIONS --enable-native-access=ALL-UNNAMED

// raw is for https://github.com/unicode-org/icu/pull/2127
Expand Down
2 changes: 1 addition & 1 deletion .jbang/JabLsLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

//DESCRIPTION jabls - start a bibtex languageserver

//JAVA 24+
//JAVA 25+
//RUNTIME_OPTIONS --enable-native-access=ALL-UNNAMED

// raw is for https://github.com/unicode-org/icu/pull/2127
Expand Down
2 changes: 1 addition & 1 deletion .jbang/JabSrvLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

//DESCRIPTION jabsrv - serve BibTeX files using JabRef

//JAVA 24+
//JAVA 25+
//RUNTIME_OPTIONS --enable-native-access=ALL-UNNAMED

// raw is for https://github.com/unicode-org/icu/pull/2127
Expand Down
2 changes: 1 addition & 1 deletion .moderne/moderne.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
specs: specs.moderne.ai/v1/cli
java:
selectedJdk: '24'
selectedJdk: '25'
2 changes: 1 addition & 1 deletion .sdkmanrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
java=24.0.2-tem
java=25-tem
#visualvm=2.1.10
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
### Changed

- REST-API: Command resource: `command` instead of `commandId`. [#14855](https://github.com/JabRef/jabref/pull/14855)
- macOS distributions now take "intel" and "silicon" as suffixes. [#14057](https://github.com/JabRef/jabref/pull/14057)

### Fixed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@ java {
// - jitpack.yml
// - .sdkmanrc
// - .devcontainer/devcontainer.json#L34 - there, also check if the gradleVersion matches the one of gradle/wrapper/gradle-wrapper.properties
// - .moderne/moderne.yml
// - .github/workflows/binaries*.yml
// - .github/workflows/publish.yml
// - .github/workflows/tests*.yml
// - .github/workflows/update-gradle-wrapper.yml
// - .github/actions/setup-gradle/action.yml
// - .github/workflows/test-code.yml
// - .jbang/Jab*.java
// - .moderne/moderne.yml
// - build-support/src/main/java/*.java
// - docs/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-12-build.md
// - jablib-examples/jbang/*.java
// - jablib-examples/maven3/*/pom.xml
languageVersion = JavaLanguageVersion.of(24)
languageVersion = JavaLanguageVersion.of(25)
// See https://docs.gradle.org/current/javadoc/org/gradle/jvm/toolchain/JvmVendorSpec.html for a full list
// Temurin does not ship jmods, thus we need to use another JDK -- see https://github.com/actions/setup-java/issues/804
// We also need a JDK without JavaFX, because we patch JavaFX due to modularity issues
Expand All @@ -27,7 +26,7 @@ java {
}

tasks.withType<JavaCompile>().configureEach {
options.release = 24
options.release = 25
// See https://docs.gradle.org/current/userguide/performance.html#a_run_the_compiler_as_a_separate_process
options.isFork = true
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//JAVA 24+
//JAVA 25+
//RUNTIME_OPTIONS --enable-native-access=ALL-UNNAMED

//DEPS org.jspecify:jspecify:1.0.0
Expand Down Expand Up @@ -45,7 +45,7 @@ public class CitationStyleCatalogGenerator {

private static final Logger LOGGER = LoggerFactory.getLogger(CitationStyleCatalogGenerator.class);

public static void main(String[] args) {
static void main(String[] args) {
generateCitationStyleCatalog();
}

Expand Down
Loading
Loading