Skip to content

Commit 7f3ac83

Browse files
committed
Compile with Java 24 by default
1 parent 691c2b8 commit 7f3ac83

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/actions/build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ inputs:
2323
java-version:
2424
description: 'Java version to compile and test with'
2525
required: false
26-
default: '17'
26+
default: '24'
2727
publish:
2828
description: 'Whether to publish artifacts ready for deployment to Artifactory'
2929
required: false

.github/actions/prepare-gradle-build/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ inputs:
2323
java-version:
2424
description: 'Java version to use for the build'
2525
required: false
26-
default: '17'
26+
default: '24'
2727
runs:
2828
using: composite
2929
steps:
@@ -33,7 +33,7 @@ runs:
3333
distribution: ${{ inputs.java-early-access == 'true' && 'temurin' || (inputs.java-distribution || 'liberica') }}
3434
java-version: |
3535
${{ inputs.java-early-access == 'true' && format('{0}-ea', inputs.java-version) || inputs.java-version }}
36-
${{ inputs.java-toolchain == 'true' && '17' || '' }}
36+
${{ inputs.java-toolchain == 'true' && '24' || '' }}
3737
- name: Set Up Gradle With Read/Write Cache
3838
if: ${{ inputs.cache-read-only == 'false' }}
3939
uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ jobs:
2222
name: Windows
2323
java:
2424
- version: 17
25-
toolchain: false
25+
toolchain: true
2626
- version: 21
27-
toolchain: false
27+
toolchain: true
2828
- version: 24
2929
toolchain: false
3030
exclude:
3131
- os:
3232
name: Linux
3333
java:
34-
version: 17
34+
version: 24
3535
steps:
3636
- name: Prepare Windows runner
3737
if: ${{ runner.os == 'Windows' }}

.sdkmanrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Enable auto-env through the sdkman_auto_env config
22
# Add key=value pairs of SDKs to use below
3-
java=17.0.15-librca
3+
java=24.0.1-librca

0 commit comments

Comments
 (0)