mirror of
https://github.com/mamoe/mirai.git
synced 2026-08-22 14:13:32 +08:00
Remove redundant runtimeOnly dependencies, 0.8.0
This commit is contained in:
13
UpdateLog.md
13
UpdateLog.md
@@ -4,6 +4,19 @@
|
|||||||
|
|
||||||
开发版本. 频繁更新, 不保证高稳定性
|
开发版本. 频繁更新, 不保证高稳定性
|
||||||
|
|
||||||
|
### `0.8.0` *2019/12/14*
|
||||||
|
协议
|
||||||
|
- 现在查询群资料时可处理群号无效的情况
|
||||||
|
- 现在能正常分辨禁言事件包
|
||||||
|
|
||||||
|
功能
|
||||||
|
- 增加无锁链表: LockFreeLinkedList, 并将 ContactList 的实现改为该无锁链表
|
||||||
|
- **ContactSystem.getQQ 不再是 `suspend`**
|
||||||
|
- ContactSystem.getGroup 仍是 `suspend`, 原因为需要查询群资料. 在群 ID 无效时抛出 `GroupNotFoundException`
|
||||||
|
|
||||||
|
优化
|
||||||
|
- 日志中, 发送给服务器的包将会被以名字记录, 而不是 id
|
||||||
|
|
||||||
### `0.7.5` *2019/12/09*
|
### `0.7.5` *2019/12/09*
|
||||||
- 修复验证码包发出后无回复 (错误的验证码包)
|
- 修复验证码包发出后无回复 (错误的验证码包)
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# style guide
|
# style guide
|
||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
# config
|
# config
|
||||||
mirai_version=0.7.5
|
mirai_version=0.8.0
|
||||||
kotlin.incremental.multiplatform=true
|
kotlin.incremental.multiplatform=true
|
||||||
kotlin.parallel.tasks.in.project=true
|
kotlin.parallel.tasks.in.project=true
|
||||||
# kotlin
|
# kotlin
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ fun DependencyHandlerScope.ktor(id: String, version: String) = "io.ktor:ktor-$id
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":mirai-core"))
|
implementation(project(":mirai-core"))
|
||||||
runtimeOnly(files("../mirai-core/build/classes/kotlin/jvm/main")) // classpath is not added correctly by IDE
|
// runtimeOnly(files("../mirai-core/build/classes/kotlin/jvm/main")) // classpath is not added correctly by IDE
|
||||||
|
|
||||||
implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
|
implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ apply plugin: "java"
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(":mirai-core")
|
api project(":mirai-core")
|
||||||
runtime files("../../mirai-core/build/classes/kotlin/jvm/main") // classpath is not set correctly by IDE
|
// runtime files("../../mirai-core/build/classes/kotlin/jvm/main") // classpath is not set correctly by IDE
|
||||||
api group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: kotlinVersion
|
api group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: kotlinVersion
|
||||||
api group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: coroutinesVersion
|
api group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: coroutinesVersion
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ apply plugin: "application"
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(":mirai-core")
|
api project(":mirai-core")
|
||||||
runtime files("../../mirai-core/build/classes/kotlin/jvm/main") // classpath is not set correctly by IDE
|
//runtime files("../../mirai-core/build/classes/kotlin/jvm/main") // classpath is not set correctly by IDE
|
||||||
//runtime files("../../mirai-core/build/classes/atomicfu/jvm/main") // classpath is not set correctly by IDE
|
|
||||||
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: kotlinVersion
|
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: kotlinVersion
|
||||||
implementation group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: coroutinesVersion
|
implementation group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: coroutinesVersion
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user