File tree Expand file tree Collapse file tree 5 files changed +15
-15
lines changed Expand file tree Collapse file tree 5 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 1- FROM gradle:jdk17
1+ FROM gradle:jdk21
22
33WORKDIR /ktor-exposed
44COPY ktor-exposed/settings.gradle.kts settings.gradle.kts
Original file line number Diff line number Diff line change 1- FROM gradle:jdk17
1+ FROM gradle:jdk21
22
33WORKDIR /ktor-exposed
44COPY ktor-exposed/settings.gradle.kts settings.gradle.kts
Original file line number Diff line number Diff line change 11plugins {
22 application
3- kotlin(" jvm" ) version " 1.9.22 "
3+ kotlin(" jvm" ) version " 2.0.21 "
44 kotlin(" plugin.serialization" ) version " 2.0.0"
55 id(" com.github.johnrengelman.shadow" ) version " 8.1.0"
66}
@@ -9,8 +9,8 @@ repositories {
99 mavenCentral()
1010}
1111
12- val ktorVersion = " 2.3.12 "
13- val kotlinxSerializationVersion = " 1.6 .3"
12+ val ktorVersion = " 3.0.1 "
13+ val kotlinxSerializationVersion = " 1.7 .3"
1414val exposedVersion = " 0.56.0"
1515
1616dependencies {
@@ -25,8 +25,8 @@ dependencies {
2525 implementation(" org.jetbrains.exposed:exposed-dao:$exposedVersion " )
2626 implementation(" org.jetbrains.exposed:exposed-jdbc:$exposedVersion " )
2727
28- implementation(" org.postgresql:postgresql:42.5 .4" )
29- implementation(" com.zaxxer:HikariCP:5.0.1 " )
28+ implementation(" org.postgresql:postgresql:42.7 .4" )
29+ implementation(" com.zaxxer:HikariCP:5.1.0 " )
3030 runtimeOnly(" org.slf4j:slf4j-simple:1.7.36" )
3131}
3232
Original file line number Diff line number Diff line change 1- FROM maven:3.9.7 -amazoncorretto-17 -debian as maven
1+ FROM maven:3.9.9 -amazoncorretto-21 -debian-bookworm as maven
22WORKDIR /ktor
33COPY ktor/pom.xml pom.xml
44COPY ktor/src src
55RUN mvn clean package -q
66
7- FROM amazoncorretto:17.0.11 -al2023-headless
7+ FROM amazoncorretto:21 -al2023-headless
88WORKDIR /ktor
99COPY --from=maven /ktor/target/tech-empower-framework-benchmark-1.0-SNAPSHOT-netty-bundle.jar app.jar
1010
Original file line number Diff line number Diff line change 1212 <name >org.jetbrains.ktor tech-empower-framework-benchmark</name >
1313
1414 <properties >
15- <kotlin .version>1.9.22 </kotlin .version>
16- <ktor .version>2.3.11 </ktor .version>
17- <serialization .version>1.6 .3</serialization .version>
15+ <kotlin .version>2.0.21 </kotlin .version>
16+ <ktor .version>3.0.1 </ktor .version>
17+ <serialization .version>1.7 .3</serialization .version>
1818 <kotlinx .html.version>0.11.0</kotlinx .html.version>
1919 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
20- <hikaricp .version>5.0 .0</hikaricp .version>
20+ <hikaricp .version>5.1 .0</hikaricp .version>
2121 <logback .version>1.2.13</logback .version>
22- <mysql .version>8.0.28 </mysql .version>
23- <postgresql .version>42.7.2 </postgresql .version>
22+ <mysql .version>8.0.33 </mysql .version>
23+ <postgresql .version>42.7.4 </postgresql .version>
2424 </properties >
2525
2626 <dependencies >
You can’t perform that action at this time.
0 commit comments