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
Him188
7dbb1a5ad7
Add RunConfigurations
2022-07-20 00:30:16 +08:00
Him188
fe0a4de368
Produce shared libraries and static libraries
2022-07-20 00:30:16 +08:00
Him188
4c6b879873
Upgrade to Ktor 2.0.2, use CIO engine for linux targets; Remove ktor-client-okhttp from mirai-core-api jvmBaseMain
...
Use Input.readAllText instead of Input.readText, because readText only reads one buffer.
#2084
2022-07-20 00:30:16 +08:00
Him188
6293208c26
Configure apiBuild dependsOn jar tasks only
2022-07-20 00:30:16 +08:00
Him188
daf9c4a208
Configure GitHub Actions for native
2022-07-20 00:30:16 +08:00
Him188
89fa379f8f
Add native test entrance
2022-07-20 00:30:16 +08:00
Him188
13dadd5a95
Implement mirai-core for native
2022-07-20 00:30:16 +08:00
Him188
92222cf1e0
Migrate -Xopt-in
to -opt-in
2022-07-20 00:30:16 +08:00
Him188
7088835402
HMPP
2022-07-20 00:30:16 +08:00
Him188
ff2a8acb0c
Implement multiplatform modules
2022-07-20 00:30:16 +08:00
Him188
ce87400998
Use ktor-io to replace kotlinx-io
2022-07-20 00:30:16 +08:00
Him188
0571be1a55
Commonize projects: mirai-core series, and mirai-console-compiler-annotations
2022-07-20 00:30:16 +08:00
Him188
d96641dedb
Configure HMPP project structure
2022-07-20 00:30:16 +08:00
Karlatemp
3c3657969f
skip publication setup for mirai-console-gradle
2022-06-22 17:02:23 +08:00
Him188
9d33c05aad
Set version in dev to 2.13.0
2022-06-18 14:46:38 +01:00
Karlatemp
e3b372e643
Fix snapshot page uploading
2022-05-04 17:22:52 +08:00
Karlatemp
784c78a010
Move UpdateSnapshotPage up buildSrc
2022-05-04 16:55:53 +08:00
Him188
a7633cc327
Set version to 2.12.0
2022-05-02 11:20:44 +01:00
Him188
3ccc07d5f4
Disable parallel compilation
2022-04-27 09:51:28 +01:00
Him188
00c74ec13f
Update dynamic-delegation to 0.3.0-162.4
2022-04-26 20:03:35 +01:00
Him188
67a9724143
Enable parallel compilation for all Kotlin modules
2022-04-26 11:20:22 +01:00
Him188
bb8cd86daa
Update dependencies:
...
Kotlin 1.6.21
Dokka 1.6.20
coroutines 1.6.1
atomifFU 0.17.2
serialization 1.3.2
ktor 1.6.7
blocking-bridge 2.0.0-162.1
dynamic-delegation 0.3.0-162.2
2022-04-26 11:12:35 +01:00
Him188
e6840de0e0
Update log4j to 2.17.2, close #1969
2022-04-23 22:46:48 +01:00
Him188
481973d5e6
New Project Wizard for IDEA 221 ( #1979 )
...
* NewProjectWizard
* dependencies and validations
* Implement checkers
* Implement project generator
* Add new template RunTerminal.run.xml for Run Configuration
* Set supported IDEA version to 221
* Fix localization
* Fix since-until
* Rearrange files
2022-04-20 17:03:10 +01:00
Him188
285cf785d8
Migrate build scripts to optIn
2022-04-17 16:58:55 +01:00
Karlatemp
22d2bd79df
Allow override console non-hard-link dependencies
2022-02-21 21:20:53 +08:00
Karlatemp
4100eaa245
Plugin dependencies automatic download system
2022-02-21 21:20:35 +08:00
Him188
6f67a41b5c
Ignore ConsoleFrontEndImplementation
on apiDump
2022-02-17 17:45:48 +00:00
Him188
2ebd017786
Make MiraiConsoleImplementationBridge class, add MiraiConsoleImplementation.origin
. MiraiConsoleImplementation.Companion.getInstance
will now return the bridge object instead of the user-defined implementation.
2022-02-17 17:45:48 +00:00
Him188
5f7b7896d0
Set version in dev to 2.11.0
2022-02-16 07:46:16 +00:00
Him188
963d5f68b9
Support Kotlin 1.6.20-M1 for mirai-console-intellij
2022-02-12 12:45:38 +00:00
Him188
4795839bfa
build: Remove unused experimentalAnnotations
2022-02-07 16:23:50 +00:00
Him188
95a82c4949
Use new versioning strategy for idea plugin
2022-02-07 16:23:34 +00:00
Him188
1d97a20b78
idea: Correctly sort versions, fix compatibility issues with some intellij versions.
2022-02-07 16:20:55 +00:00
Him188
978a877e56
Set version in dev branch to 2.11.0-RC
2022-01-14 18:57:02 +00:00
Karlatemp
033a10daaf
Fix binary-compatibility-validator
2022-01-14 21:19:59 +08:00
Him188
06d17274a2
Use kotlin-dynamic-delegation
2022-01-10 23:27:23 +00:00
Him188
be2b1d3c66
Do not write file if contents are equal
2022-01-06 20:26:52 +00:00
Him188
194e9ced44
Use unified plugin version: org.jetbrains.kotlinx.binary-compatibility-validator
2022-01-06 20:26:52 +00:00
Him188
1ab48748ab
Fix project structure for Dokka
...
Co-authored-by: 微莹·纤绫 <karlatemp@vip.qq.com>
2022-01-06 20:26:52 +00:00
Him188
3d864362aa
Generalize binary validator
2022-01-06 20:26:52 +00:00
Karlatemp
6b571e163d
Fix jvmTarget; fix #1795 ; fix #1765
2022-01-04 23:59:13 +08:00
Him188
86a389b585
Set version to 2.10.0-RC
2021-12-27 18:25:49 +00:00
Him188
1f9484b2e4
Fix updateSnapshotVersion for updated Versions template
2021-12-27 16:57:33 +00:00
Him188
15a756346b
build: Fetch version first from system env "mirai.build.project.version"
2021-12-27 13:07:17 +00:00
Him188
ddb74b9292
Set version to 2.10.0-RC
2021-12-23 01:37:11 +00:00
Him188
7faf630454
Update kotlin-jvm-blocking-bridge to 2.0.0-160.2
2021-12-23 01:37:11 +00:00
Him188
3e28cb57b6
Fix deprecation in buildscripts
2021-12-23 01:37:11 +00:00
Him188
5368e6b809
Upgrade buildscript for Kotlin 1.6.0, use Gradle 7.2
2021-12-23 01:37:11 +00:00
Karlatemp
45e3f58017
Don't apply shadowJar directly
...
For fix project dependencies
2021-12-22 23:18:56 +08:00
Him188
44b5f70bde
Set version to 2.9.0
2021-12-18 17:31:03 +00:00
Karlatemp
6b16fd2580
2.9.0-RC2
2021-12-19 01:15:35 +08:00
Karlatemp
6f55816b08
Use JDK 11 for CI
2021-12-18 17:12:50 +08:00
Him188
92465c3213
Improve performance of IDEA plugin
2021-12-16 14:17:50 +00:00
Him188
aa915085b8
Set version to 2.9.0
2021-12-15 21:16:02 +00:00
Karlatemp
bca536b107
Fix publishing; fix #1733
2021-12-13 13:07:29 +08:00
Him188
18e10c2ceb
set version to 2.9.0-RC
2021-12-11 17:12:52 +00:00
Eritque arcus
07b303fb24
upgrade log4j version to prevent vulnerability ( #1724 )
2021-12-10 11:57:09 +00:00
Him188
1783c22e30
Unify dependency configuration
2021-12-06 14:58:30 +00:00
Him188
61ce69c328
Configure publishing for mirai-bom
2021-12-06 14:31:25 +00:00
微莹·纤绫
d10d20302e
Dokka ( #1708 )
...
* dokka
* test
* Fix classpath
* Fix deploy
* Fix deploy
* Fix deploy
* GitHub workflows
2021-12-04 15:43:09 +00:00
Him188
b0c4821a20
Set version on main branch to 2.9.0-M1
2021-11-09 22:12:11 +00:00
Him188
32f2f705a5
Set version on main branch to 2.8.0
2021-10-30 22:56:12 +01:00
Him188
919498c215
Set version to 2.8.0-RC
2021-10-30 22:48:37 +01:00
Him188
66999aadaf
Migrate to Kotlin 1.5.30 and review dependencies:
...
- Remove redundant atomicfu-common
- Do not expose kotlinx-io and atomicfu
2021-09-01 18:52:36 +08:00
Him188
2cc6e0bbd8
Use yamlkt 0.10.2
2021-09-01 13:55:39 +08:00
Him188
edf1bc9a2e
Migrate more transformers to NoticeProcessorPipeline
2021-09-01 13:55:39 +08:00
Him188
f90320bd2b
Snapshots publishing ( #1465 )
...
* Add snapshots publishing
* fix workflow
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* Create tag on releasing snapshots
* fix
* fix
* fix
* Publish only when tagged `v*`
* MAMOE_TOKEN
* fix
* fix
* Close repository but not publish on release
* Ignore documentations for snapshots publishing
* Update docs for snapshots
* Remove unused newly added files
* Disable all shadow tasks on snapshots publishing
* Remove concurrency limitation for publish-mirai
* fix
* fix
* fix
* Remove publishMiraiCoreArtifactsToMavenLocal
2021-09-01 13:47:02 +08:00
Him188
c0d85f3e9d
Set version to 2.8.0-M1
2021-08-31 11:15:43 +08:00
Karlatemp
8ab6a489d0
Remove jcenter
2021-08-27 16:36:50 +08:00
Him188
994893605d
Set version to 2.8-M1
2021-08-25 16:07:08 +08:00
Him188
b41ee54f6c
Release version 2.7.0
2021-08-25 16:04:09 +08:00
RainChan
06c1652d53
Bypass BC deprecation check on Android ( #1481 )
...
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-08-25 15:07:56 +08:00
Him188
63e0c9837d
Release version 2.7-RC
2021-08-11 22:00:05 +08:00
Him188
20a14fc716
Add adapter modules for logging libraries to connect with mirai logger
2021-08-11 15:24:32 +08:00