在正常使用环境中进行了调试,修复了几个Listener中出现的错误并完善了相关功能

This commit is contained in:
slhaf
2024-10-04 22:35:25 +08:00
parent e26aa30f3d
commit d6b74ae353
13 changed files with 120 additions and 63 deletions

View File

@@ -18,14 +18,24 @@ dependencies{
implementation ("junit:junit:4.13.2")
implementation ("org.apache.logging.log4j:log4j-core:2.23.1")
implementation ("org.apache.logging.log4j:log4j-api:2.23.1")
implementation("top.mrxiaom.mirai:overflow-core:0.9.9.515-f8d867b-SNAPSHOT")
}
repositories {
maven("https://maven.aliyun.com/repository/public")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots")
mavenCentral()
}
mirai {
noTestCore = true
setupConsoleTestRuntime {
// 移除 mirai-core 依赖
classpath = classpath.filter {
!it.nameWithoutExtension.startsWith("mirai-core-jvm")
}
}
jvmTarget = JavaVersion.VERSION_17
}
}