From a92a57bffeea798873bb582b614ac471f3479ef8 Mon Sep 17 00:00:00 2001 From: Marvin Elsen Date: Fri, 25 Oct 2024 21:34:03 +0200 Subject: [PATCH] Add coroutines dependencies --- build.gradle.kts | 2 ++ gradle/libs.versions.toml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 1e80dcc..5b42fe1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -24,6 +24,8 @@ dependencies { implementation(libs.kotlinx.serialization.json) implementation(libs.kotlinx.html.jvm) + implementation(libs.kotlinx.coroutines.core) + implementation(libs.kotlinx.coroutines.javafx) implementation(libs.segment) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 5d12827..f180b1b 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -10,6 +10,7 @@ sqlite-jdbc = "3.46.0.1" kotlinx-serialization-json = "1.7.1" kotlinx-html-jvm = "0.11.0" +kotlinx-coroutines = "1.9.0" segment = "0.3.1" @@ -27,6 +28,8 @@ sqlite-jdbc = { module = "org.xerial:sqlite-jdbc", version.ref = "sqlite-jdbc" } kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinx-serialization-json" } kotlinx-html-jvm = { module = "org.jetbrains.kotlinx:kotlinx-html-jvm", version.ref = "kotlinx-html-jvm" } +kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinx-coroutines" } +kotlinx-coroutines-javafx = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-javafx", version.ref = "kotlinx-coroutines" } segment = { module = "com.github.houbb:segment", version.ref = "segment" } slf4j-nop = { module = "org.slf4j:slf4j-nop", version.ref = "slf4j" }