Skip to content

Commit 3846a22

Browse files
committed
Update dependencies and change settings
1 parent f7526b5 commit 3846a22

16 files changed

+58
-35
lines changed

frameworks/Kotlin/hexagon/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
plugins {
3-
id "org.jetbrains.kotlin.jvm" version "2.0.20-RC" apply false
3+
id "org.jetbrains.kotlin.jvm" version "2.0.10" apply false
44
id "org.graalvm.buildtools.native" version "0.10.2" apply false
55
}
66

@@ -9,7 +9,7 @@ description = "TFB benchmark"
99
group = "com.hexagonkt"
1010

1111
ext {
12-
hexagonVersion = "3.6.1"
12+
hexagonVersion = "3.6.2"
1313
jettyVersion = "12.0.12"
1414
nettyVersion = "4.1.112.Final"
1515

@@ -30,5 +30,5 @@ subprojects {
3030
}
3131

3232
tasks.wrapper {
33-
gradleVersion = "8.9"
33+
gradleVersion = "8.10"
3434
}
Binary file not shown.

frameworks/Kotlin/hexagon/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

frameworks/Kotlin/hexagon/gradlew

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -55,7 +57,7 @@
5557
# Darwin, MinGW, and NonStop.
5658
#
5759
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5961
# within the Gradle project.
6062
#
6163
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,8 @@ done
8486
# shellcheck disable=SC2034
8587
APP_BASE_NAME=${0##*/}
8688
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87-
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90+
' "$PWD" ) || exit
8891

8992
# Use the maximum available, or set MAX_FD != -1 to use that value.
9093
MAX_FD=maximum

frameworks/Kotlin/hexagon/gradlew.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@rem See the License for the specific language governing permissions and
1414
@rem limitations under the License.
1515
@rem
16+
@rem SPDX-License-Identifier: Apache-2.0
17+
@rem
1618

1719
@if "%DEBUG%"=="" @echo off
1820
@rem ##########################################################################

frameworks/Kotlin/hexagon/hexagon-helidon-native.dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ RUN ./gradlew --quiet -x test hexagon_helidon_pgclient:nativeCompile
1616
FROM scratch
1717
ARG PROJECT=hexagon_helidon_pgclient
1818

19+
ENV maximumPoolSize 300
20+
1921
COPY --from=build /hexagon/$PROJECT/build/native/nativeCompile/$PROJECT /
2022

2123
ENTRYPOINT [ "/hexagon_helidon_pgclient" ]

frameworks/Kotlin/hexagon/hexagon-helidon-pgclient.dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
#
22
# BUILD
33
#
4-
FROM docker.io/gradle:8.9-jdk21-alpine AS build
4+
FROM docker.io/bellsoft/liberica-runtime-container:jdk-all-22-cds-musl AS build
55
USER root
66
WORKDIR /hexagon
77

88
ADD . .
9-
RUN gradle --quiet classes
10-
RUN gradle --quiet -x test installDist
9+
RUN ./gradlew --quiet classes
10+
RUN ./gradlew --quiet -x test installDist
1111

1212
#
1313
# RUNTIME
1414
#
15-
FROM docker.io/bellsoft/liberica-runtime-container:jre-21-musl
15+
FROM docker.io/bellsoft/liberica-runtime-container:jre-22-musl
1616
ARG PROJECT=hexagon_helidon_pgclient
1717

1818
ENV POSTGRESQL_DB_HOST tfb-database
1919
ENV JDK_JAVA_OPTIONS --enable-preview -XX:+AlwaysPreTouch -XX:+UseParallelGC -XX:+UseNUMA
20+
ENV maximumPoolSize 300
2021

2122
COPY --from=build /hexagon/$PROJECT/build/install/$PROJECT /opt/$PROJECT
2223

frameworks/Kotlin/hexagon/hexagon-helidon.dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
#
22
# BUILD
33
#
4-
FROM docker.io/gradle:8.9-jdk21-alpine AS build
4+
FROM docker.io/bellsoft/liberica-runtime-container:jdk-all-22-cds-musl AS build
55
USER root
66
WORKDIR /hexagon
77

88
ADD . .
9-
RUN gradle --quiet classes
10-
RUN gradle --quiet -x test installDist
9+
RUN ./gradlew --quiet classes
10+
RUN ./gradlew --quiet -x test installDist
1111

1212
#
1313
# RUNTIME
1414
#
15-
FROM docker.io/bellsoft/liberica-runtime-container:jre-21-musl
15+
FROM docker.io/bellsoft/liberica-runtime-container:jre-22-musl
1616
ARG PROJECT=hexagon_helidon_postgresql
1717

1818
ENV POSTGRESQL_DB_HOST tfb-database
1919
ENV JDK_JAVA_OPTIONS --enable-preview -XX:+AlwaysPreTouch -XX:+UseParallelGC -XX:+UseNUMA
20+
ENV maximumPoolSize 300
2021

2122
COPY --from=build /hexagon/$PROJECT/build/install/$PROJECT /opt/$PROJECT
2223

frameworks/Kotlin/hexagon/hexagon-jetty-native.dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ RUN ./gradlew --quiet -x test hexagon_jetty_postgresql:nativeCompile
1616
FROM scratch
1717
ARG PROJECT=hexagon_jetty_postgresql
1818

19+
ENV maximumPoolSize 300
20+
1921
COPY --from=build /hexagon/$PROJECT/build/native/nativeCompile/$PROJECT /
2022

2123
ENTRYPOINT [ "/hexagon_jetty_postgresql" ]

frameworks/Kotlin/hexagon/hexagon-jettyloom-pgclient.dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#
22
# BUILD
33
#
4-
FROM docker.io/gradle:8.9-jdk21-alpine AS build
4+
FROM docker.io/bellsoft/liberica-runtime-container:jdk-all-21-cds-musl AS build
55
USER root
66
WORKDIR /hexagon
77

88
ADD . .
9-
RUN gradle --quiet classes
10-
RUN gradle --quiet -x test installDist
9+
RUN ./gradlew --quiet classes
10+
RUN ./gradlew --quiet -x test installDist
1111

1212
#
1313
# RUNTIME
@@ -17,6 +17,7 @@ ARG PROJECT=hexagon_jetty_pgclient
1717

1818
ENV POSTGRESQL_DB_HOST tfb-database
1919
ENV JDK_JAVA_OPTIONS --enable-preview -XX:+AlwaysPreTouch -XX:+UseParallelGC -XX:+UseNUMA -DvirtualThreads=true
20+
ENV maximumPoolSize 300
2021

2122
COPY --from=build /hexagon/$PROJECT/build/install/$PROJECT /opt/$PROJECT
2223

0 commit comments

Comments
 (0)