From 575225874c1e1943ad3c805b15476a21b1d02989 Mon Sep 17 00:00:00 2001 From: Him188 Date: Tue, 21 Dec 2021 18:09:12 +0000 Subject: [PATCH] Explicitly add dependency on `kotlinx-coroutines-core-jvm` to help IDE analysis --- mirai-core-api/build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/mirai-core-api/build.gradle.kts b/mirai-core-api/build.gradle.kts index 597fe98f3..49ea51b91 100644 --- a/mirai-core-api/build.gradle.kts +++ b/mirai-core-api/build.gradle.kts @@ -55,6 +55,7 @@ kotlin { api(kotlin("reflect")) api(`kotlinx-serialization-core-jvm`) api(`kotlinx-serialization-json-jvm`) + api(`kotlinx-coroutines-core-jvm`) // don't remove it, otherwise IDE will complain api(`kotlinx-coroutines-jdk8`) api(`ktor-client-okhttp`)