Skip to content

Commit eef4ed1

Browse files
committed
Remove redundant runtimeOnly dependencies, 0.8.0
1 parent 401634e commit eef4ed1

File tree

5 files changed

+18
-5
lines changed

5 files changed

+18
-5
lines changed

UpdateLog.md

+13
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@
44

55
开发版本. 频繁更新, 不保证高稳定性
66

7+
### `0.8.0` *2019/12/14*
8+
协议
9+
- 现在查询群资料时可处理群号无效的情况
10+
- 现在能正常分辨禁言事件包
11+
12+
功能
13+
- 增加无锁链表: LockFreeLinkedList, 并将 ContactList 的实现改为该无锁链表
14+
- **ContactSystem.getQQ 不再是 `suspend`**
15+
- ContactSystem.getGroup 仍是 `suspend`, 原因为需要查询群资料. 在群 ID 无效时抛出 `GroupNotFoundException`
16+
17+
优化
18+
- 日志中, 发送给服务器的包将会被以名字记录, 而不是 id
19+
720
### `0.7.5` *2019/12/09*
821
- 修复验证码包发出后无回复 (错误的验证码包)
922

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# style guide
22
kotlin.code.style=official
33
# config
4-
mirai_version=0.7.5
4+
mirai_version=0.8.0
55
kotlin.incremental.multiplatform=true
66
kotlin.parallel.tasks.in.project=true
77
# kotlin

mirai-debug/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fun DependencyHandlerScope.ktor(id: String, version: String) = "io.ktor:ktor-$id
4141

4242
dependencies {
4343
implementation(project(":mirai-core"))
44-
runtimeOnly(files("../mirai-core/build/classes/kotlin/jvm/main")) // classpath is not added correctly by IDE
44+
// runtimeOnly(files("../mirai-core/build/classes/kotlin/jvm/main")) // classpath is not added correctly by IDE
4545

4646
implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
4747

mirai-demos/mirai-demo-1/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: "java"
33

44
dependencies {
55
api project(":mirai-core")
6-
runtime files("../../mirai-core/build/classes/kotlin/jvm/main") // classpath is not set correctly by IDE
6+
// runtime files("../../mirai-core/build/classes/kotlin/jvm/main") // classpath is not set correctly by IDE
77
api group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: kotlinVersion
88
api group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: coroutinesVersion
99
}

mirai-demos/mirai-demo-gentleman/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ apply plugin: "application"
44

55
dependencies {
66
api project(":mirai-core")
7-
runtime files("../../mirai-core/build/classes/kotlin/jvm/main") // classpath is not set correctly by IDE
8-
//runtime files("../../mirai-core/build/classes/atomicfu/jvm/main") // classpath is not set correctly by IDE
7+
//runtime files("../../mirai-core/build/classes/kotlin/jvm/main") // classpath is not set correctly by IDE
8+
99
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: kotlinVersion
1010
implementation group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: coroutinesVersion
1111

0 commit comments

Comments
 (0)