This commit is contained in:
Him188 2021-02-03 13:15:23 +08:00
parent 2a7c1e8631
commit ea895db70c
3 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,7 @@
import org.gradle.api.attributes.Attribute import org.gradle.api.attributes.Attribute
object Versions { object Versions {
const val project = "2.2.2" const val project = "2.3.0"
const val core = project const val core = project
const val console = project const val console = project

View File

@ -11,7 +11,7 @@
| 版本类型 | 版本号 | | 版本类型 | 版本号 |
|:------:|:------------------------------:| |:------:|:------------------------------:|
| 稳定 | 2.2.2 | | 稳定 | 2.3.0 |
| 预览 | - | | 预览 | - |
| 开发 | [![Version]][Bintray Download] | | 开发 | [![Version]][Bintray Download] |
@ -40,7 +40,7 @@ repositories {
} }
dependencies { dependencies {
api("net.mamoe", "mirai-core", "2.2.2") // 替换为你需要的版本号 api("net.mamoe", "mirai-core", "2.3.0") // 替换为你需要的版本号
} }
``` ```
@ -64,7 +64,7 @@ repositories {
} }
dependencies { 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 的负担。 mirai 在开发时需要 `net.mamoe:mirai-core-api`, 在运行时需要 `net.mamoe:mirai-core`。可以在开发和编译时只依赖 `mirai-core-api`,会减轻对 IDE 的负担。
```kotlin ```kotlin
dependencies { dependencies {
val miraiVersion = "2.2.2" // 替换为你需要的版本号 val miraiVersion = "2.3.0" // 替换为你需要的版本号
api("net.mamoe", "mirai-core-api", miraiVersion) // 编译代码使用 api("net.mamoe", "mirai-core-api", miraiVersion) // 编译代码使用
runtimeOnly("net.mamoe", "mirai-core", miraiVersion) // 运行时使用 runtimeOnly("net.mamoe", "mirai-core", miraiVersion) // 运行时使用
} }
@ -105,7 +105,7 @@ dependencies {
<dependency> <dependency>
<groupId>net.mamoe</groupId> <groupId>net.mamoe</groupId>
<artifactId>mirai-core-jvm</artifactId> <artifactId>mirai-core-jvm</artifactId>
<version>2.2.2</version> <!-- 替换版本为你需要的版本 --> <version>2.3.0</version> <!-- 替换版本为你需要的版本 -->
</dependency> </dependency>
</dependencies> </dependencies>
``` ```

@ -1 +1 @@
Subproject commit 8683e888926fbe2c76abf6362830f7470fc7c029 Subproject commit b7c46e27e05819e0071ddaa5697e4422324409e1