Skip to content

Commit

Permalink
chore: helidon and graalvm plugin updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sureshg committed Oct 22, 2023
1 parent dffdb61 commit 823c1e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ ajalt-clikt = "4.2.1"
ajalt-mordant = "2.2.0"
ajalt-colormath = "3.3.3"
dokka = "1.9.10"
helidon = "4.0.0-RC1"
helidon = "4.0.0-RC2"
jgit = "6.6.0.202305301015-r"
jte = "3.1.2"
jte = "3.1.3"
junit = "5.10.0"
ktor = "2.3.5"
kotlinRetry = "1.0.9"
Expand Down Expand Up @@ -69,7 +69,7 @@ semver-plugin = "0.5.0-rc.5"
taskinfo = "2.1.0"
dependency-analysis = "1.25.0"
best-practices-plugin = "0.10"
graalvm-nativeimage = "0.9.27"
graalvm-nativeimage = "0.9.28"
beryx-jlink = "2.24.4"
beryx-runtime = "1.13.0"
beryx-jar = "2.0.0"
Expand Down
11 changes: 5 additions & 6 deletions src/main/kotlin/dev/suresh/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import io.helidon.webserver.staticcontent.StaticContentService
import io.ktor.client.*
import io.ktor.client.engine.cio.*
import io.ktor.client.plugins.websocket.*
import io.ktor.http.*
import io.ktor.utils.io.core.*
import io.rsocket.kotlin.RSocket
import io.rsocket.kotlin.core.WellKnownMimeType
Expand All @@ -26,6 +25,11 @@ import io.rsocket.kotlin.ktor.client.rSocket
import io.rsocket.kotlin.payload.PayloadMimeType
import io.rsocket.kotlin.payload.buildPayload
import io.rsocket.kotlin.payload.data
import kotlinx.coroutines.asCoroutineDispatcher
import kotlinx.coroutines.flow.flowOn
import kotlinx.coroutines.flow.take
import kotlinx.coroutines.runBlocking
import org.graalvm.nativeimage.ImageInfo
import java.io.File
import java.lang.System.Logger.Level.INFO
import java.lang.management.ManagementFactory
Expand Down Expand Up @@ -58,11 +62,6 @@ import kotlin.jvm.optionals.getOrDefault
import kotlin.system.exitProcess
import kotlin.time.Duration.Companion.minutes
import kotlin.time.Duration.Companion.seconds
import kotlinx.coroutines.asCoroutineDispatcher
import kotlinx.coroutines.flow.flowOn
import kotlinx.coroutines.flow.take
import kotlinx.coroutines.runBlocking
import org.graalvm.nativeimage.ImageInfo

val logger = System.getLogger("Main")
val vtDispatcher by lazy { Executors.newVirtualThreadPerTaskExecutor().asCoroutineDispatcher() }
Expand Down

0 comments on commit 823c1e7

Please sign in to comment.