Skip to content

Commit 1d2923a

Browse files
feat: JDK 23 general availability - apply to build
1 parent 61340af commit 1d2923a

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

.github/workflows/gradle-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121

2222
steps:
2323
- uses: actions/checkout@v4
24-
- name: Set up JDK 22
24+
- name: Set up JDK 23
2525
uses: actions/setup-java@v4
2626
with:
27-
java-version: '22'
27+
java-version: '23'
2828
distribution: 'temurin'
2929
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
3030
settings-path: ${{ github.workspace }} # location for the settings.xml file

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/setup-java@v4
2727
with:
2828
# https://github.com/actions/setup-java?tab=readme-ov-file#supported-distributions
29-
java-version: '22'
29+
java-version: '23'
3030
distribution: 'temurin'
3131

3232
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
@@ -60,7 +60,7 @@ jobs:
6060
uses: actions/setup-java@v4
6161
with:
6262
# https://github.com/actions/setup-java?tab=readme-ov-file#supported-distributions
63-
java-version: '22'
63+
java-version: '24'
6464
distribution: 'temurin'
6565

6666
# Generates and submits a dependency graph, enabling Dependabot Alerts for all project dependencies.

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,16 @@ The following algorithms are used by the AI BOT in this project - for a detailed
7373

7474
- To run the single game application, use the following command: `./gradlew run`
7575

76+
- If you don't have Java 23 installed on your system you can install it first with [SDKMAN](https://sdkman.io/):
77+
78+
```bash
79+
curl -s "https://get.sdkman.io" | bash
80+
81+
sdk install java 23-tem
82+
83+
./gradlew run
84+
```
85+
7686
---
7787

7888
### Related

api/src/main/java/org/xxdc/oss/example/Player.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
public sealed interface Player permits HumanPlayer, BotPlayer {
1212

1313
/// Chooses the next valid move on the game board.
14-
/// @param board the current state of the game
14+
/// @param gameState the current state of the game
1515
/// @return the index of the next valid move on the board
1616
int nextMove(GameState gameState);
1717
}

buildSrc/src/main/kotlin/buildlogic.java-common-conventions.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ testing {
6262

6363
val projectVersion by extra("1.3.1")
6464

65-
public val jdkVersion = 22
65+
public val jdkVersion = 23
6666
// Apply a specific Java toolchain to ease working on different environments.
6767
java {
6868
toolchain {

0 commit comments

Comments
 (0)