mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-28 01:10:17 +08:00
2.3.0
This commit is contained in:
parent
2a7c1e8631
commit
ea895db70c
@ -12,7 +12,7 @@
|
||||
import org.gradle.api.attributes.Attribute
|
||||
|
||||
object Versions {
|
||||
const val project = "2.2.2"
|
||||
const val project = "2.3.0"
|
||||
|
||||
const val core = project
|
||||
const val console = project
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
| 版本类型 | 版本号 |
|
||||
|:------:|:------------------------------:|
|
||||
| 稳定 | 2.2.2 |
|
||||
| 稳定 | 2.3.0 |
|
||||
| 预览 | - |
|
||||
| 开发 | [![Version]][Bintray Download] |
|
||||
|
||||
@ -40,7 +40,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api("net.mamoe", "mirai-core", "2.2.2") // 替换为你需要的版本号
|
||||
api("net.mamoe", "mirai-core", "2.3.0") // 替换为你需要的版本号
|
||||
}
|
||||
```
|
||||
|
||||
@ -64,7 +64,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api('net.mamoe', 'mirai-core', '2.2.2') // 替换为你需要的版本号
|
||||
api('net.mamoe', 'mirai-core', '2.3.0') // 替换为你需要的版本号
|
||||
}
|
||||
```
|
||||
|
||||
@ -77,7 +77,7 @@ dependencies {
|
||||
mirai 在开发时需要 `net.mamoe:mirai-core-api`, 在运行时需要 `net.mamoe:mirai-core`。可以在开发和编译时只依赖 `mirai-core-api`,会减轻对 IDE 的负担。
|
||||
```kotlin
|
||||
dependencies {
|
||||
val miraiVersion = "2.2.2" // 替换为你需要的版本号
|
||||
val miraiVersion = "2.3.0" // 替换为你需要的版本号
|
||||
api("net.mamoe", "mirai-core-api", miraiVersion) // 编译代码使用
|
||||
runtimeOnly("net.mamoe", "mirai-core", miraiVersion) // 运行时使用
|
||||
}
|
||||
@ -105,7 +105,7 @@ dependencies {
|
||||
<dependency>
|
||||
<groupId>net.mamoe</groupId>
|
||||
<artifactId>mirai-core-jvm</artifactId>
|
||||
<version>2.2.2</version> <!-- 替换版本为你需要的版本 -->
|
||||
<version>2.3.0</version> <!-- 替换版本为你需要的版本 -->
|
||||
</dependency>
|
||||
</dependencies>
|
||||
```
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 8683e888926fbe2c76abf6362830f7470fc7c029
|
||||
Subproject commit b7c46e27e05819e0071ddaa5697e4422324409e1
|
Loading…
Reference in New Issue
Block a user