Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mirai
Commits
eef4ed12
Commit
eef4ed12
authored
Dec 14, 2019
by
Him188
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant runtimeOnly dependencies, 0.8.0
parent
401634eb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
5 deletions
+18
-5
UpdateLog.md
UpdateLog.md
+13
-0
gradle.properties
gradle.properties
+1
-1
mirai-debug/build.gradle.kts
mirai-debug/build.gradle.kts
+1
-1
mirai-demos/mirai-demo-1/build.gradle
mirai-demos/mirai-demo-1/build.gradle
+1
-1
mirai-demos/mirai-demo-gentleman/build.gradle
mirai-demos/mirai-demo-gentleman/build.gradle
+2
-2
No files found.
UpdateLog.md
View file @
eef4ed12
...
...
@@ -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*
-
修复验证码包发出后无回复 (错误的验证码包)
...
...
gradle.properties
View file @
eef4ed12
# style guide
kotlin.code.style
=
official
# config
mirai_version
=
0.
7.5
mirai_version
=
0.
8.0
kotlin.incremental.multiplatform
=
true
kotlin.parallel.tasks.in.project
=
true
# kotlin
...
...
mirai-debug/build.gradle.kts
View file @
eef4ed12
...
...
@@ -41,7 +41,7 @@ fun DependencyHandlerScope.ktor(id: String, version: String) = "io.ktor:ktor-$id
dependencies
{
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"
)
...
...
mirai-demos/mirai-demo-1/build.gradle
View file @
eef4ed12
...
...
@@ -3,7 +3,7 @@ apply plugin: "java"
dependencies
{
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.kotlinx'
,
name:
'kotlinx-coroutines-core'
,
version:
coroutinesVersion
}
mirai-demos/mirai-demo-gentleman/build.gradle
View file @
eef4ed12
...
...
@@ -4,8 +4,8 @@ apply plugin: "application"
dependencies
{
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/atomicfu/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
implementation
group:
'org.jetbrains.kotlin'
,
name:
'kotlin-stdlib-jdk8'
,
version:
kotlinVersion
implementation
group:
'org.jetbrains.kotlinx'
,
name:
'kotlinx-coroutines-core'
,
version:
coroutinesVersion
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment