Skip to content

Commit

Permalink
Upgrade to Java 23
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatan-ivanov committed Sep 18, 2024
1 parent 3cbc15c commit f9f4b5b
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
distribution: 'liberica'
java-version: |
22
23
21
cache: 'gradle'
check-latest: true
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ subprojects {
}

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

jar.manifest.attributes(
Expand Down
3 changes: 0 additions & 3 deletions eureka/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,3 @@ apply from: "$rootDir/gradle/spring-boot.gradle"
dependencies {
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-server'
}

// TODO: remove this once the Boot Gradle Plugin works with Java 22
springBoot.mainClass = 'org.example.teahouse.eureka.EurekaApplication'
3 changes: 0 additions & 3 deletions spring-boot-admin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,3 @@ dependencies {
implementation 'de.codecentric:spring-boot-admin-starter-server:latest.release'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
}

// TODO: remove this once the Boot Gradle Plugin works with Java 22
springBoot.mainClass = 'org.example.teahouse.sba.SbaApplication'
3 changes: 0 additions & 3 deletions tea-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,3 @@ dependencies {

runtimeOnly 'com.github.loki4j:loki-logback-appender:latest.release'
}

// TODO: remove this once the Boot Gradle Plugin works with Java 22
springBoot.mainClass = 'org.example.teahouse.tea.TeaServiceApplication'
3 changes: 0 additions & 3 deletions tealeaf-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,3 @@ dependencies {

testImplementation 'org.flywaydb:flyway-core'
}

// TODO: remove this once the Boot Gradle Plugin works with Java 22
springBoot.mainClass = 'org.example.teahouse.tealeaf.TealeafServiceApplication'
3 changes: 0 additions & 3 deletions water-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,3 @@ dependencies {

testImplementation 'org.flywaydb:flyway-core'
}

// TODO: remove this once the Boot Gradle Plugin works with Java 22
springBoot.mainClass = 'org.example.teahouse.water.WaterServiceApplication'

0 comments on commit f9f4b5b

Please sign in to comment.