Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Jun 30, 2024
1 parent 68cedd3 commit 7c33616
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .sdkmanrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=21.0.2-graal
java=21.0.3-graal
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ plugins {
id("org.graalvm.buildtools.native") version("0.10.2")
}

val hexagonVersion = "3.5.3"
val hexagonVersion = "3.6.0"
val gradleScripts = "https://raw.githubusercontent.com/hexagontk/hexagon/$hexagonVersion/gradle"

ext.set("modules", "java.base")
ext.set("options", "-Xmx48m")
ext.set("applicationClass", "org.example.ApplicationKt")

Expand All @@ -24,7 +25,7 @@ group="org.example"
description="Service's description"

dependencies {
"implementation"("com.hexagonkt:http_server_netty:$hexagonVersion")
"implementation"("com.hexagonkt:http_server_helidon:$hexagonVersion")

"testImplementation"("com.hexagonkt:http_client_jetty:$hexagonVersion")
"testImplementation"("org.slf4j:slf4j-nop:2.0.13")
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/Application.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ package org.example

import com.hexagonkt.core.ALL_INTERFACES
import com.hexagonkt.http.server.*
import com.hexagonkt.http.server.netty.NettyServerAdapter
import com.hexagonkt.http.server.helidon.HelidonServerAdapter
import com.hexagonkt.core.media.TEXT_PLAIN
import com.hexagonkt.http.model.ContentType
import com.hexagonkt.http.model.Header

internal val settings = HttpServerSettings(ALL_INTERFACES, 9090)
internal val serverAdapter = NettyServerAdapter(executorThreads = 4)
internal val serverAdapter = HelidonServerAdapter()

internal lateinit var server: HttpServer

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Community
#Args=-R:MaxHeapSize=16 -march=native
# Oracle
Args=-march=native --gc=G1 --enable-sbom
Args=--gc=G1 --enable-sbom

0 comments on commit 7c33616

Please sign in to comment.