Update required Java version to 21
Also update Spring to 3.2.4. This is required as the old spring version does not support Java 21.
This commit is contained in:
parent
25390e2132
commit
5dd11bbe6c
|
@ -1,4 +1,4 @@
|
|||
FROM adoptopenjdk/openjdk11:alpine-jre
|
||||
FROM eclipse-temurin:21-jre-alpine
|
||||
RUN addgroup -S spring && adduser -S spring -G spring
|
||||
#RUN groupadd -r spring && useradd -r -g spring spring # for openjdk:xx builds
|
||||
RUN mkdir /tcor && chown spring:spring /tcor
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
plugins {
|
||||
id 'org.jetbrains.kotlin.jvm' version '1.9.23'
|
||||
id 'org.jetbrains.kotlin.plugin.spring' version '1.9.23'
|
||||
id 'org.springframework.boot' version '2.7.6'
|
||||
id 'io.spring.dependency-management' version '1.1.0'
|
||||
id 'org.springframework.boot' version '3.2.4'
|
||||
id 'io.spring.dependency-management' version '1.1.4'
|
||||
}
|
||||
|
||||
group 'org.mosad'
|
||||
|
@ -13,7 +13,7 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.springframework.boot:spring-boot-starter-web:2.7.6'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-web:3.2.4'
|
||||
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.9.23'
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4'
|
||||
implementation 'org.jsoup:jsoup:1.15.3'
|
||||
|
@ -30,7 +30,7 @@ test {
|
|||
}
|
||||
}
|
||||
|
||||
def jvmTargetVersion = "11"
|
||||
def jvmTargetVersion = "21"
|
||||
compileKotlin {
|
||||
kotlinOptions.jvmTarget = jvmTargetVersion
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue