Release version 2.7-M2

This commit is contained in:
Him188 2021-07-06 21:38:35 +08:00
parent 47cf27f4d8
commit 8ede2cc78f
3 changed files with 8 additions and 8 deletions

View File

@ -12,7 +12,7 @@
import org.gradle.api.attributes.Attribute import org.gradle.api.attributes.Attribute
object Versions { object Versions {
const val project = "2.7-M2-dev-1" const val project = "2.7-M2"
const val core = project const val core = project
const val console = project const val console = project

View File

@ -13,8 +13,8 @@
| 版本类型 | 版本号 | | 版本类型 | 版本号 |
|:------:|:------------------------------:| |:------:|:------------------------------:|
| 稳定 | 2.6.4 | | 稳定 | 2.6.7 |
| 预览 | - | | 预览 | 2.7-M2 |
| 开发 | [![Version]][Central Download] | | 开发 | [![Version]][Central Download] |
### 配置项目 ### 配置项目
@ -38,7 +38,7 @@ plugins {
} }
dependencies { dependencies {
api("net.mamoe", "mirai-core", "2.6.4") api("net.mamoe", "mirai-core", "2.6.7")
} }
``` ```
@ -58,7 +58,7 @@ plugins {
} }
dependencies { dependencies {
implementation 'net.mamoe:mirai-core:2.6.4' implementation 'net.mamoe:mirai-core:2.6.7'
} }
``` ```
@ -71,7 +71,7 @@ dependencies {
mirai 在开发时需要 `net.mamoe:mirai-core-api`, 在运行时需要 `net.mamoe:mirai-core`。可以在开发和编译时只依赖 `mirai-core-api`,会减轻对 IDE 的负担。 mirai 在开发时需要 `net.mamoe:mirai-core-api`, 在运行时需要 `net.mamoe:mirai-core`。可以在开发和编译时只依赖 `mirai-core-api`,会减轻对 IDE 的负担。
```kotlin ```kotlin
dependencies { dependencies {
val miraiVersion = "2.6.4" val miraiVersion = "2.6.7"
api("net.mamoe", "mirai-core-api", miraiVersion) // 编译代码使用 api("net.mamoe", "mirai-core-api", miraiVersion) // 编译代码使用
runtimeOnly("net.mamoe", "mirai-core", miraiVersion) // 运行时使用 runtimeOnly("net.mamoe", "mirai-core", miraiVersion) // 运行时使用
} }
@ -87,7 +87,7 @@ dependencies {
<dependency> <dependency>
<groupId>net.mamoe</groupId> <groupId>net.mamoe</groupId>
<artifactId>mirai-core-jvm</artifactId> <artifactId>mirai-core-jvm</artifactId>
<version>2.6.4</version> <version>2.6.7</version>
</dependency> </dependency>
</dependencies> </dependencies>
``` ```

@ -1 +1 @@
Subproject commit 67565cb34b92e098ab40d06f35c5554d7f3d9e69 Subproject commit be928efb750e3c7e94839ebcff1a52a3906970c6