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 ```