Skip to content
This repository was archived by the owner on Feb 10, 2023. It is now read-only.

Commit 2947a7c

Browse files
committed
2.0.0
1 parent da04234 commit 2947a7c

File tree

6 files changed

+12
-14
lines changed

6 files changed

+12
-14
lines changed

backend/mirai-console/src/internal/MiraiConsoleBuildConstants.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import java.time.Instant
1414

1515
internal object MiraiConsoleBuildConstants { // auto-filled on build (task :mirai-console:fillBuildConstants)
1616
@JvmStatic
17-
val buildDate: Instant = Instant.ofEpochSecond(1610449212)
18-
const val versionConst: String = "2.0-RC"
17+
val buildDate: Instant = Instant.ofEpochSecond(1610704964)
18+
const val versionConst: String = "2.0.0"
1919

2020
@JvmStatic
2121
val version: SemVersion = SemVersion(versionConst)

buildSrc/src/main/kotlin/Versions.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
import org.gradle.api.attributes.Attribute
1313

1414
object Versions {
15-
const val core = "2.0-RC"
16-
const val console = "2.0-RC-dev-2"
15+
const val core = "2.0.0"
16+
const val console = "2.0.0"
1717
const val consoleGraphical = "0.0.7"
1818
const val consoleTerminal = console
1919

@@ -33,7 +33,7 @@ object Versions {
3333

3434
const val bintray = "1.8.5"
3535

36-
const val blockingBridge = "1.5.0"
36+
const val blockingBridge = "1.6.0"
3737

3838
@Suppress("SpellCheckingInspection")
3939
const val yamlkt = "0.7.5"

docs/ConfiguringProjects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ console 由后端和前端一起工作. 使用时必须选择一个前端.
2020

2121
| 版本类型 | 版本号 |
2222
|:------:|:------------------------------:|
23-
| 稳定 | 2.0-RC |
23+
| 稳定 | 2.0.0 |
2424
| 预览 | - |
2525
| 开发 | [![Version]][Bintray Download] |
2626

docs/Run.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Mirai Console 可以独立启动,也可以被嵌入到某个应用中。
1717
### 准备文件
1818

1919
要启动 Mirai Console,你需要:
20-
- mirai-core-qqandroid
20+
- mirai-core
2121
- mirai-console 后端
2222
- mirai-console 任一前端
2323
- 相关依赖
@@ -108,9 +108,8 @@ repositories {
108108
jcenter()
109109
}
110110
dependencies {
111-
implementation("net.mamoe:mirai-console:1.0.1")
112-
implementation("net.mamoe:mirai-console-terminal:1.0.1")
113-
implementation("net.mamoe:mirai-core:1.3.3")
111+
implementation("net.mamoe:mirai-console-terminal:2.0.0") // 自行替换版本
112+
implementation("net.mamoe:mirai-core:2.0.0")
114113
}
115114
```
116115

@@ -127,7 +126,6 @@ MiraiConsoleTerminalLoader.startAsDaemon()
127126

128127
在嵌入使用时,插件可以直接加载:
129128

130-
```kotlin
131129
```kotlin
132130
MiraiConsoleTerminalLoader.startAsDaemon()
133131
// 先启动 Mirai Console

tools/gradle-plugin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Mirai Console Gradle 插件。
3636
```kotlin
3737
mirai { // this: MiraiConsoleExtension
3838
// 配置,例如
39-
coreVersion = "2.0-RC" // 修改 mirai-core 版本
39+
coreVersion = "2.0.0" // 修改 mirai-core 版本
4040
}
4141
```
4242

tools/gradle-plugin/src/VersionConstants.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
package net.mamoe.mirai.console.gradle
1111

1212
internal object VersionConstants {
13-
const val CONSOLE_VERSION = "2.0-RC" // value is written here automatically during build
14-
const val CORE_VERSION = "2.0-RC" // value is written here automatically during build
13+
const val CONSOLE_VERSION = "2.0.0" // value is written here automatically during build
14+
const val CORE_VERSION = "2.0.0" // value is written here automatically during build
1515
}

0 commit comments

Comments
 (0)