Him188
4ed551027a
[build] Support both configuring Android targets by Android SDK or JVM
...
- try to fix sdk dir when android is desired
- Do not printAndroidNotInstalled multiple times
2023-05-02 16:17:48 +01:00
Him188
2cf97a181f
[build] Use JUnit5 on Android
2023-05-02 16:17:48 +01:00
Him188
a2d50ec03a
[build] Relocate ktor only for jvm, not for Android
2023-05-02 16:17:48 +01:00
Him188
164f621427
[build] Fully support Android target; Update to Gradle 8.0
2023-05-02 16:17:48 +01:00
Him188
7a5cbbcb88
[core] Add kotlinx-coroutines-debug
in mirai-core-utils
2023-05-01 22:52:29 +01:00
Him188
c3a9511783
[core] Remove redundant AtomicFU runtime dependency from mirai-core-utils
2023-05-01 11:09:40 +01:00
Him188
60bbcf6e2c
[core] Revert "Review atomic calls and enable atomicfu compiler. Close #2315 ", due to atomicfu does not behave correctly when mirai-console depends on mirai-core-utils. Fixes #2329 .
...
This commit reverts part of commit 564a7ce8f8
2022-11-27 20:08:21 +00:00
Him188
3360347ca2
[build] Fix dependency exclusion for builds when IDEA_ACTIVE
2022-11-27 15:25:18 +00:00
Him188
c0ccdbe9d3
[build] Rewrite shadow relocation
2022-11-27 15:25:18 +00:00
Him188
564a7ce8f8
[core] Review atomic calls and enable atomicfu compiler. Close #2315
2022-10-29 13:04:37 +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
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
7dbb1a5ad7
Add RunConfigurations
2022-07-20 00:30:16 +08:00
Him188
daf9c4a208
Configure GitHub Actions for native
2022-07-20 00:30:16 +08:00
Him188
13dadd5a95
Implement mirai-core for native
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
d96641dedb
Configure HMPP project structure
2022-07-20 00:30:16 +08:00
Him188
7faf630454
Update kotlin-jvm-blocking-bridge to 2.0.0-160.2
2021-12-23 01:37:11 +00: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
f5b2dbc65d
Avoid boxing in TypeSafeMap
and support serialization
2021-09-01 13:55:39 +08:00
Him188
5e25c0e25b
Remove bintray
2021-05-25 12:25:53 +08:00
Him188
48564056df
Add AtomicLazy
2021-05-09 00:54:48 +08:00
AdoptOSS
09475efbda
fix: serialization plugin should not be put into runtime classpath ( #1197 )
2021-04-17 19:56:19 +08:00
AdoptOSS
21e8852e0f
buildscript: fix task not found errors when android sdk not available ( #1161 )
...
* buildscript: fix task not found errors when android sdk not available
* fix: this shadowed by run
* cleanup: code style
* improve: avoid breaking index map
2021-04-05 22:35:38 +08:00
Karlatemp
f9353b6aef
Compiled code verify ( #1080 )
...
* Compiled code verify
* Run `verifyCompiledClasses` in `check` task
* Redesign verification
Co-authored-by: Bo Zhang <bo@gradle.com>
* Disable console verify
* Decoupling
Co-authored-by: Bo Zhang <bo@gradle.com>
2021-03-20 13:34:04 +08:00
Him188
2c14f0016f
Disable atomicFU compiler plugin
2021-02-25 09:35:51 +08:00
Karlatemp
7a7c88b783
Android api level check
2021-02-25 00:12:58 +08:00
Him188
bacfef584f
Add android compilation target
2021-02-01 12:23:28 +08:00
Him188
525d7c8de3
Do not publish jvm artifacts in root module, fix unresolved dependency with Android. fix #897
2021-01-27 13:57:32 +08:00
Him188
988794343b
Improve buildscript, fix publication
2021-01-21 10:08:21 +08:00
Him188
73954130f8
Move utilities to mirai-core-utils
2020-12-26 20:05:10 +08:00
Him188
82f24b736c
Fix HMPP platform structure
2020-12-18 15:37:13 +08:00
Him188
20bc17ee43
Use constants in buildscript
2020-12-18 14:14:12 +08:00
Him188
8fdfe830fe
Introduce new module mirai-core-utils
2020-12-02 09:25:25 +08:00