From 1a85219b339d09e49a24e4d492e062bdce254b4d Mon Sep 17 00:00:00 2001 From: Him188 Date: Thu, 18 Mar 2021 09:29:07 +0800 Subject: [PATCH] Update docs --- docs/ConfiguringProjects.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ConfiguringProjects.md b/docs/ConfiguringProjects.md index 925ab321f..8b58ccbbb 100644 --- a/docs/ConfiguringProjects.md +++ b/docs/ConfiguringProjects.md @@ -36,7 +36,7 @@ plugins { } dependencies { - api("net.mamoe", "mirai-core", "2.4.1") + api("net.mamoe", "mirai-core", "2.4.2") } ``` @@ -56,7 +56,7 @@ plugins { } dependencies { - api('net.mamoe', 'mirai-core', '2.4.1') + api('net.mamoe', 'mirai-core', '2.4.2') } ``` @@ -69,7 +69,7 @@ dependencies { mirai 在开发时需要 `net.mamoe:mirai-core-api`, 在运行时需要 `net.mamoe:mirai-core`。可以在开发和编译时只依赖 `mirai-core-api`,会减轻对 IDE 的负担。 ```kotlin dependencies { - val miraiVersion = "2.4.1" + val miraiVersion = "2.4.2" api("net.mamoe", "mirai-core-api", miraiVersion) // 编译代码使用 runtimeOnly("net.mamoe", "mirai-core", miraiVersion) // 运行时使用 } @@ -85,7 +85,7 @@ dependencies { net.mamoe mirai-core-jvm - 2.4.1 + 2.4.2 ```