mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-05 12:45:00 +08:00
2.1.0
This commit is contained in:
parent
8e2e259618
commit
c0154603eb
@ -12,7 +12,7 @@
|
|||||||
import org.gradle.api.attributes.Attribute
|
import org.gradle.api.attributes.Attribute
|
||||||
|
|
||||||
object Versions {
|
object Versions {
|
||||||
const val project = "2.1.0-dev-3"
|
const val project = "2.1.0"
|
||||||
|
|
||||||
const val kotlinCompiler = "1.4.21"
|
const val kotlinCompiler = "1.4.21"
|
||||||
const val kotlinStdlib = "1.4.21"
|
const val kotlinStdlib = "1.4.21"
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
| 版本类型 | 版本号 |
|
| 版本类型 | 版本号 |
|
||||||
|:------:|:------------------------------:|
|
|:------:|:------------------------------:|
|
||||||
| 稳定 | 2.0.0 |
|
| 稳定 | 2.1.0 |
|
||||||
| 预览 | - |
|
| 预览 | - |
|
||||||
| 开发 | [![Version]][Bintray Download] |
|
| 开发 | [![Version]][Bintray Download] |
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api("net.mamoe", "mirai-core", "2.0.0") // 替换为你需要的版本号
|
api("net.mamoe", "mirai-core", "2.1.0") // 替换为你需要的版本号
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api('net.mamoe', 'mirai-core', '2.0.0') // 替换为你需要的版本号
|
api('net.mamoe', 'mirai-core', '2.1.0') // 替换为你需要的版本号
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -80,7 +80,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.0.0" // 替换为你需要的版本号
|
val miraiVersion = "2.1.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) // 运行时使用
|
||||||
}
|
}
|
||||||
@ -108,7 +108,7 @@ dependencies {
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.mamoe</groupId>
|
<groupId>net.mamoe</groupId>
|
||||||
<artifactId>mirai-core-jvm</artifactId>
|
<artifactId>mirai-core-jvm</artifactId>
|
||||||
<version>2.0.0</version> <!-- 替换版本为你需要的版本 -->
|
<version>2.1.0</version> <!-- 替换版本为你需要的版本 -->
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user