Skip to content

Commit

Permalink
Update Hexagon
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Nov 11, 2023
1 parent 59f2811 commit e5358cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ val vertxVersion = "4.4.6"

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

ext.set("modules", "java.logging,java.desktop")
//ext.set("modules", "java.logging,java.management")
ext.set("modules", "java.logging")
ext.set("options", "-Xmx32m")
ext.set("icon", "$projectDir/logo.png")
ext.set("applicationClass", "co.codecv.CvKt")
Expand Down
2 changes: 2 additions & 0 deletions src/main/kotlin/Cv.kt
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ private fun serve(command: Command) {
get(callback = UrlCallback(urlOf(mainPage)))
}

// ManagementFactory.getRuntimeMXBean().uptime.info("START MS: ")

if (command.propertyValueOrNull<Boolean>("b") == true)
(browseCommand + "http://localhost:${server.runtimePort}/cv").exec()
}
Expand Down

0 comments on commit e5358cd

Please sign in to comment.