Skip to content

Commit d47415e

Browse files
meysholdtona-agent
andcommitted
Upgrade to Java 24
- Update DevContainer Java feature from 21-oracle to 24 - Update pom.xml java.version property from 17 to 24 - Update build.gradle toolchain languageVersion from 17 to 24 Co-authored-by: Ona <no-reply@ona.com>
1 parent 0cc7646 commit d47415e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
44
"features": {
55
"ghcr.io/devcontainers/features/java:1": {
6-
"version": "21-oracle",
6+
"version": "24",
77
"jdkDistro": "oracle"
88
},
99
"ghcr.io/devcontainers/features/azure-cli:1": {},

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ version = '3.5.0'
1616

1717
java {
1818
toolchain {
19-
languageVersion = JavaLanguageVersion.of(17)
19+
languageVersion = JavaLanguageVersion.of(24)
2020
}
2121
}
2222

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<properties>
1919

2020
<!-- Generic properties -->
21-
<java.version>17</java.version>
21+
<java.version>24</java.version>
2222
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2323
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2424
<!-- Important for reproducible builds. Update using e.g. ./mvnw versions:set -DnewVersion=... -->

0 commit comments

Comments
 (0)