This repository was archived by the owner on Feb 10, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +12
-14
lines changed
backend/mirai-console/src/internal Expand file tree Collapse file tree 6 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ import java.time.Instant
14
14
15
15
internal object MiraiConsoleBuildConstants { // auto-filled on build (task :mirai-console:fillBuildConstants)
16
16
@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 "
19
19
20
20
@JvmStatic
21
21
val version: SemVersion = SemVersion (versionConst)
Original file line number Diff line number Diff line change 12
12
import org.gradle.api.attributes.Attribute
13
13
14
14
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 "
17
17
const val consoleGraphical = " 0.0.7"
18
18
const val consoleTerminal = console
19
19
@@ -33,7 +33,7 @@ object Versions {
33
33
34
34
const val bintray = " 1.8.5"
35
35
36
- const val blockingBridge = " 1.5 .0"
36
+ const val blockingBridge = " 1.6 .0"
37
37
38
38
@Suppress(" SpellCheckingInspection" )
39
39
const val yamlkt = " 0.7.5"
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ console 由后端和前端一起工作. 使用时必须选择一个前端.
20
20
21
21
| 版本类型 | 版本号 |
22
22
| :------:| :------------------------------:|
23
- | 稳定 | 2.0-RC |
23
+ | 稳定 | 2.0.0 |
24
24
| 预览 | - |
25
25
| 开发 | [ ![ Version]] [ Bintray Download ] |
26
26
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Mirai Console 可以独立启动,也可以被嵌入到某个应用中。
17
17
### 准备文件
18
18
19
19
要启动 Mirai Console,你需要:
20
- - mirai-core-qqandroid
20
+ - mirai-core
21
21
- mirai-console 后端
22
22
- mirai-console 任一前端
23
23
- 相关依赖
@@ -108,9 +108,8 @@ repositories {
108
108
jcenter()
109
109
}
110
110
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" )
114
113
}
115
114
```
116
115
@@ -127,7 +126,6 @@ MiraiConsoleTerminalLoader.startAsDaemon()
127
126
128
127
在嵌入使用时,插件可以直接加载:
129
128
130
- ``` kotlin
131
129
``` kotlin
132
130
MiraiConsoleTerminalLoader .startAsDaemon()
133
131
// 先启动 Mirai Console
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ Mirai Console Gradle 插件。
36
36
``` kotlin
37
37
mirai { // this: MiraiConsoleExtension
38
38
// 配置,例如
39
- coreVersion = " 2.0-RC " // 修改 mirai-core 版本
39
+ coreVersion = " 2.0.0 " // 修改 mirai-core 版本
40
40
}
41
41
```
42
42
Original file line number Diff line number Diff line change 10
10
package net.mamoe.mirai.console.gradle
11
11
12
12
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
15
15
}
You can’t perform that action at this time.
0 commit comments