From c8f6575c440d67ea0a0b5dc8dbdc8d972d14a75b Mon Sep 17 00:00:00 2001 From: Him188 Date: Fri, 30 Oct 2020 15:01:20 +0800 Subject: [PATCH] Update build constants and README --- .../src/internal/MiraiConsoleBuildConstants.kt | 4 ++-- docs/ConfiguringProjects.md | 11 ++++------- tools/gradle-plugin/src/VersionConstants.kt | 2 +- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/backend/mirai-console/src/internal/MiraiConsoleBuildConstants.kt b/backend/mirai-console/src/internal/MiraiConsoleBuildConstants.kt index a0a673888..418852398 100644 --- a/backend/mirai-console/src/internal/MiraiConsoleBuildConstants.kt +++ b/backend/mirai-console/src/internal/MiraiConsoleBuildConstants.kt @@ -14,8 +14,8 @@ import java.time.Instant internal object MiraiConsoleBuildConstants { // auto-filled on build (task :mirai-console:fillBuildConstants) @JvmStatic - val buildDate: Instant = Instant.ofEpochSecond(1603864859) - const val versionConst: String = "1.0-RC" + val buildDate: Instant = Instant.ofEpochSecond(1604041264) + const val versionConst: String = "1.0-RC-1" @JvmStatic val version: SemVersion = SemVersion(versionConst) diff --git a/docs/ConfiguringProjects.md b/docs/ConfiguringProjects.md index 6831ff24d..5063a8857 100644 --- a/docs/ConfiguringProjects.md +++ b/docs/ConfiguringProjects.md @@ -11,8 +11,6 @@ console 由后端和前端一起工作. 使用时必须选择一个前端. - `mirai-console-terminal`: 终端前端,适用于 JVM。 - [`MiraiAndroid`](https://github.com/mzdluo123/MiraiAndroid): Android 应用前端。 -**注意:`mirai-console` 1.0-RC 发布之前, 前端请使用 `mirai-console-pure` 而不是 `mirai-console-terminal`** - ## 选择版本 有关各类版本的区别,参考 [版本规范](Appendix.md#版本规范) @@ -20,10 +18,10 @@ console 由后端和前端一起工作. 使用时必须选择一个前端. [Version]: https://api.bintray.com/packages/him188moe/mirai/mirai-console/images/download.svg? [Bintray Download]: https://bintray.com/him188moe/mirai/mirai-console/ -| 版本类型 | 版本号 | -|:------:|:------------:| -| 稳定 | - | -| 预览 | 1.0-M4 | +| 版本类型 | 版本号 | +|:------:|:------------------------------:| +| 稳定 | - | +| 预览 | 1.0-RC-1 | | 开发 | [![Version]][Bintray Download] | ## 配置项目 @@ -74,7 +72,6 @@ dependencies { compileOnly("net.mamoe:mirai-console:$CONSOLE_VERSION") // 后端 testImplementation("net.mamoe:mirai-console-terminal:$CONSOLE_VERSION") // 前端, 用于启动测试 - testImplementation("net.mamoe:mirai-console-terminal:$CONSOLE_VERSION") // 前端, 用于启动测试 } ``` diff --git a/tools/gradle-plugin/src/VersionConstants.kt b/tools/gradle-plugin/src/VersionConstants.kt index a3cccbd26..2ed00f770 100644 --- a/tools/gradle-plugin/src/VersionConstants.kt +++ b/tools/gradle-plugin/src/VersionConstants.kt @@ -10,6 +10,6 @@ package net.mamoe.mirai.console.gradle internal object VersionConstants { - const val CONSOLE_VERSION = "1.0-RC" // value is written here automatically during build + const val CONSOLE_VERSION = "1.0-RC-1" // value is written here automatically during build const val CORE_VERSION = "1.3.2" // value is written here automatically during build } \ No newline at end of file