Skip to content

Commit

Permalink
Update Hexagon version
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Sep 20, 2023
1 parent 35f1356 commit 5c641cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import java.lang.System.getProperty

plugins {
kotlin("jvm") version("1.9.10")
id("org.graalvm.buildtools.native") version("0.9.25")
id("org.graalvm.buildtools.native") version("0.9.27")
}

val hexagonVersion = "3.0.4"
val hexagonVersion = "3.2.0"
val gradleScripts = "https://raw.githubusercontent.com/hexagonkt/hexagon/$hexagonVersion/gradle"

ext.set("options", "-Xmx48m")
Expand All @@ -26,7 +26,7 @@ dependencies {
"implementation"("com.hexagonkt:http_server_netty:$hexagonVersion")

"testImplementation"("com.hexagonkt:http_client_jetty:$hexagonVersion")
"testImplementation"("org.slf4j:slf4j-nop:2.0.7")
"testImplementation"("org.slf4j:slf4j-nop:2.0.9")
}

extensions.configure<GraalVMExtension> {
Expand All @@ -38,13 +38,14 @@ extensions.configure<GraalVMExtension> {
listOfNotNull(
option("static") { "--static" },
option("enableMonitoring") { "--enable-monitoring" },
option("pgoInstrument") { "--pgo-instrument" },
option("pgo") { "--pgo" },
)
.forEach(buildArgs::add)
}
named("test") {
listOfNotNull(
option("pgo") { "--pgo-instrument" },
option("pgoInstrument") { "--pgo-instrument" },
)
.forEach(buildArgs::add)
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Args=-R:MaxHeapSize=16
Args=-R:MaxHeapSize=16 -march=native

0 comments on commit 5c641cf

Please sign in to comment.