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

Commit

Permalink
Update build constants and README
Browse files Browse the repository at this point in the history
  • Loading branch information
Him188 committed Oct 30, 2020
1 parent 5c03556 commit c8f6575
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
11 changes: 4 additions & 7 deletions docs/ConfiguringProjects.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,17 @@ 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#版本规范)

[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] |

## 配置项目
Expand Down Expand Up @@ -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") // 前端, 用于启动测试
}
```

Expand Down
2 changes: 1 addition & 1 deletion tools/gradle-plugin/src/VersionConstants.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit c8f6575

Please sign in to comment.