From f41a00c0c2a39dbe73c7ed85a117ab206969fad2 Mon Sep 17 00:00:00 2001 From: Him188 Date: Sat, 10 Apr 2021 18:58:49 +0800 Subject: [PATCH] Update docs on versions --- docs/ConfiguringProjects.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/ConfiguringProjects.md b/docs/ConfiguringProjects.md index 144a9608f..8151673da 100644 --- a/docs/ConfiguringProjects.md +++ b/docs/ConfiguringProjects.md @@ -11,7 +11,7 @@ | 版本类型 | 版本号 | |:------:|:------------------------------:| -| 稳定 | 2.5.0 | +| 稳定 | 2.5.2 | | 预览 | 2.6-M2 | | 开发 | [![Version]][Bintray Download] | @@ -32,11 +32,11 @@ ```kotlin plugins { - kotlin("jvm") version "1.4.31" // 确保添加 Kotlin + kotlin("jvm") version "1.4.32" // 确保添加 Kotlin } dependencies { - api("net.mamoe", "mirai-core", "2.5.0") + api("net.mamoe", "mirai-core", "2.5.2") } ``` @@ -52,11 +52,11 @@ dependencies { ```groovy plugins { - id 'org.jetbrains.kotlin.jvm' version '1.4.31' // 确保添加 Kotlin + id 'org.jetbrains.kotlin.jvm' version '1.4.32' // 确保添加 Kotlin } dependencies { - api('net.mamoe', 'mirai-core', '2.5.0') + api('net.mamoe', 'mirai-core', '2.5.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.5.0" + val miraiVersion = "2.5.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.5.0 + 2.5.2 ``` @@ -97,7 +97,7 @@ dependencies { ```xml - 1.4.31 + 1.4.32 ``` ```xml