Skip to content

Commit

Permalink
Upgrade to Java 23
Browse files Browse the repository at this point in the history
  • Loading branch information
ystxn committed Oct 6, 2024
1 parent 699d9b6 commit 1f0db69
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup GraalVM
uses: graalvm/setup-graalvm@v1
with:
java-version: '22'
java-version: '23'
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Gradle
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup GraalVM
uses: graalvm/setup-graalvm@v1
with:
java-version: '22'
java-version: '23'
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Gradle
Expand Down
14 changes: 7 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
plugins {
id "com.github.ben-manes.versions" version "0.51.0"
id "org.springframework.boot" version "3.3.2"
id "org.springframework.boot" version "3.3.4"
id "io.spring.dependency-management" version "1.1.6"
id "io.freefair.lombok" version "8.7.1"
id "org.graalvm.buildtools.native" version "0.10.2"
id "io.freefair.lombok" version "8.10.2"
id "org.graalvm.buildtools.native" version "0.10.3"
id "java"
id "jacoco"
}
Expand All @@ -12,7 +12,7 @@ group = "tech.sledger"

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(22))
languageVersion.set(JavaLanguageVersion.of(23))
}
}

Expand All @@ -22,15 +22,15 @@ tasks.withType(JavaCompile).configureEach {
options.compilerArgs.add("-parameters")
}

def testContainersVersion = "1.20.1"
def testContainersVersion = "1.20.2"

dependencies {
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "org.springframework.boot:spring-boot-starter-security"
implementation "org.springframework.boot:spring-boot-starter-data-mongodb"
implementation "org.springframework.boot:spring-boot-starter-validation"
implementation "org.springframework.boot:spring-boot-starter-actuator"
implementation "com.resend:resend-java:3.2.0"
implementation "com.resend:resend-java:4.0.0"
implementation "org.bouncycastle:bcprov-jdk18on:1.78.1"
implementation "com.auth0:java-jwt:4.4.0"
implementation ("com.opencsv:opencsv:5.9") {
Expand Down Expand Up @@ -88,7 +88,7 @@ bootBuildImage {
publish = System.getenv("DOCKER_PASS") != null
createdDate = "now"
environment = [
"BP_JVM_VERSION": "22",
"BP_JVM_VERSION": "23",
"BP_SPRING_CLOUD_BINDINGS_DISABLED": "true"
]
docker {
Expand Down

0 comments on commit 1f0db69

Please sign in to comment.