Commit Graph

384 Commits

Author SHA1 Message Date
Him188
427c37e649
[build] Update to Kotlin 1.8.10 2023-03-19 03:18:34 +00:00
Karlatemp
1d515b92c3
Prepare for 2.15.0 dev 2023-02-06 12:24:13 +08:00
sandtechnology
cc7f35519e
Update login protocol (#2433)
* Update login protocol
Still need testing

* Turn off debug option and make t547 null when failed

* Fix wrong convert method and improve tips

* Remove unused part and improve tips

* Fix typo

* Inline resultStatus for performance

* Rename pow to PoW, the name should be "Proof of Work"

* Add shadow and deps-test for kt-bignum

* Try to fix deps-test

* Fix deps-test again
2023-01-18 17:41:21 +08:00
Him188
0a60535d46
[console] Ignore APIs marked with @ExperimentalCommandDescriptors in ABI compatibility checks 2022-12-27 16:01:03 +00:00
Him188
c2611dda94
[idea] Change mirai-console-intellij version to 223-$project-172-1 2022-12-27 14:04:19 +00:00
Him188
eb0891fe24
[idea] Support IDEA 2022.3 2022-12-22 13:27:45 +00:00
Him188
4545489eef
[idea] Bump IDEA and kotlin-idea version to 2022.3 2022-12-22 13:27:44 +00:00
Karlatemp
a42efdb93d [core/logging] Dump logback to 1.3.4 2022-12-17 20:33:33 +00:00
Karlatemp
1844d19602 [core/logging] Bind slf4j to 2.x; Bump log4j to 2.19.0 2022-12-17 20:33:33 +00:00
Karlatemp
6c295723db [console/logging] slf4j binding support 2022-12-17 20:33:33 +00:00
Karlatemp
889a78e572
[publish] Delete GpgSigner 2022-11-29 15:27:37 +08:00
Karlatemp
4215ae4605
[publish] Create MiraiStageRepo 2022-11-29 15:24:46 +08:00
Him188
4b794feecb
[terminal] Use the more concise way to add and shadow dependencies 2022-11-27 19:58:28 +00:00
Him188
146d737b42
[build] Add a more concise way to add and shadow dependencies for JVM-only projects 2022-11-27 19:56:44 +00:00
Him188
6da947430e
[build] Set version to 2.14.0 2022-11-27 15:25:58 +00:00
Him188
2e2bb44797 [build] Use capitalized target name for shadow*Jar tasks 2022-11-27 15:25:18 +00:00
Him188
3360347ca2 [build] Fix dependency exclusion for builds when IDEA_ACTIVE 2022-11-27 15:25:18 +00:00
Him188
7830207b81 [build] Add more notes for relocation 2022-11-27 15:25:18 +00:00
Him188
e9c12eb4a8 [build+docs] Use mirai.native.binaries to enable binaries, update relevant docs. 2022-11-27 15:25:18 +00:00
Him188
9f7face6eb [build] Disable KotlinNativeLink by default. Can be enabled by -Dmirai.native.link=true 2022-11-27 15:25:18 +00:00
Him188
9540bc95c5 [gradle+deps] Adjust memory limit for test Gradle instances 2022-11-27 15:25:18 +00:00
Him188
5c4a3aeb38 [build] Support '~' in disabling build targets. e.g. '~others' 2022-11-27 15:25:18 +00:00
Him188
a6af7e82ea [build] Fix check-publishing actions 2022-11-27 15:25:18 +00:00
Him188
76cee371a9 [build] Register native binaries for mirai-core only to speed up builds 2022-11-27 15:25:18 +00:00
Him188
4c8a18edb7 [build] Fix shadow task dependencies and check-publishing actions 2022-11-27 15:25:18 +00:00
Him188
23e02a433f [build] Allow using "others" when configuring enabled mirai-core targets 2022-11-27 15:25:18 +00:00
Him188
c0ccdbe9d3 [build] Rewrite shadow relocation 2022-11-27 15:25:18 +00:00
Karlatemp
4061abff52
[build] Bump asm to 9.4 2022-11-08 17:49:57 +08:00
Him188
a77c4e2adf
[build] Add notes for relocation 2022-11-02 19:29:02 +00:00
Him188
7e84330262
[core] Use netty-handler instead of netty-all to reduce size 2022-10-29 13:11:30 +01:00
Him188
a8995d63a6
[build] Set version to 2.14.0 2022-10-28 14:40:00 +01:00
Him188
25e66d19c7
[core] Filter out relocated ktor dependencies in runtime except for mirai-core-utils and mirai-core-all. Fix #2291 2022-10-21 16:09:27 +01:00
Him188
faa7ebeaba
[build] Add notes to configureRelocationForCore 2022-10-03 12:44:41 +01:00
Him188
394c0a5b4e
[core] Relocate com.squareup.okhttp3 and com.squareup.okio. Fix #2263 2022-10-03 12:38:55 +01:00
Him188
d4f4ea30d4
[build] Update idea plugin version to 221-2.13.0-171-2 2022-09-23 22:09:10 +08:00
Him188
00db1fe187
[build] Use modified shadow plugin to fix ASM mapping issues. Close #2230. 2022-09-20 18:50:04 +08:00
微莹·纤绫
2db9804cf2
Mock Testing Framework (#1521)
Co-authored-by: Eritque arcus <1930893235@qq.com>
Co-authored-by: Him188 <Him188@mamoe.net>
2022-09-10 12:49:13 +08:00
Him188
637fe1a5b9
Upgrade atomicfu to 0.18.3 2022-09-04 20:40:53 +08:00
Karlatemp
df6789889d
Fix jvm test resource directory resolving
¿¿ Who wrote it¿¿¿
2022-08-31 21:49:56 +08:00
Him188
eb892da093
[build] Fix build when local.properties not found 2022-08-26 16:42:18 +08:00
Him188
f87c142a69
[build] Support disabling modules and targets 2022-08-26 16:38:05 +08:00
Him188
39074f1764
[build] Update to Kotlin 1.7.10:
Kotlin 1.7.10
kotlinx-serialization 1.3.3
kotlinx-coroutines 1.6.4
kotlinx-atomicfu 0.17.3
Ktor 2.1.0
2022-08-15 18:36:40 +08:00
Him188
f5ff4be3a2
idea: Support 221-222. fix #2124 2022-07-20 18:51:25 +08:00
Him188
3bcdf9b640 Optimize gradle properties 2022-07-20 00:30:16 +08:00
Him188
bdf412cd62 Enable all targets when IDEA active 2022-07-20 00:30:16 +08:00
Him188
b82517e513 actions publishing 2022-07-20 00:30:16 +08:00
Him188
fd67ba9204 Configure shadow relocation and add checks for multiplatform publishing 2022-07-20 00:30:16 +08:00
AdoptOSS
7325c1f7e2 native: 优化 build script 及 actions,修复 ECDH 相关资源释放问题 (#2110)
* build: fix build on Windows

* test: fix ContentEqualsTest on native

* build: allow disabling targets with property

* fix: free ECDH-related resources properly on native
avoid memory leaking (usually on *nix) or crash (usually on Windows)

Signed-off-by: AdoptOSS <adoptoss@outlook.com>

* build(workflow): remove invalid options

* fix(styling): `mirai.target` property

* build(workflow): try to limit memory usage during mirai-console:tools:gradle-plugin:integTest

* enhance(test): use buildList

* build(workflow): retry

Co-authored-by: ArcticLampyrid <arcticlampyrid@outlook.com>
2022-07-20 00:30:16 +08:00
Him188
21c4a5ba04 Use kotlinx-coroutines-test 2022-07-20 00:30:16 +08:00
Him188
cca40b8aa3 Add dummy jvmBase target for IDE 2022-07-20 00:30:16 +08:00