2020-08-16 23:36:24 +08:00
|
|
|
/*
|
2021-01-28 09:32:22 +08:00
|
|
|
* Copyright 2019-2021 Mamoe Technologies and contributors.
|
2020-08-16 23:36:24 +08:00
|
|
|
*
|
2021-01-28 09:32:22 +08:00
|
|
|
* 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
|
|
|
|
* Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
|
2020-08-16 23:36:24 +08:00
|
|
|
*
|
2021-01-28 09:32:22 +08:00
|
|
|
* https://github.com/mamoe/mirai/blob/master/LICENSE
|
2020-08-16 23:36:24 +08:00
|
|
|
*/
|
|
|
|
|
2020-08-16 23:21:11 +08:00
|
|
|
package net.mamoe.mirai.console.internal
|
|
|
|
|
2020-09-20 18:01:02 +08:00
|
|
|
import net.mamoe.mirai.console.util.SemVersion
|
2020-08-22 19:43:07 +08:00
|
|
|
import java.time.Instant
|
2020-08-16 23:21:11 +08:00
|
|
|
|
|
|
|
internal object MiraiConsoleBuildConstants { // auto-filled on build (task :mirai-console:fillBuildConstants)
|
|
|
|
@JvmStatic
|
2021-02-14 21:17:28 +08:00
|
|
|
val buildDate: Instant = Instant.ofEpochSecond(1613308312)
|
|
|
|
const val versionConst: String = "2.4.0"
|
2020-08-22 19:43:07 +08:00
|
|
|
|
|
|
|
@JvmStatic
|
2020-09-26 23:51:00 +08:00
|
|
|
val version: SemVersion = SemVersion(versionConst)
|
2020-08-16 23:21:11 +08:00
|
|
|
}
|