Commit Graph

22 Commits

Author SHA1 Message Date
Him188
1f8524fb04
Fix all compiler warnings throughout the project 2022-10-21 17:00:37 +01: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
ff2a8acb0c Implement multiplatform modules 2022-07-20 00:30:16 +08:00
Him188
36159c39f4
Remove bintray in mirai-console-gradle 2022-06-18 13:02:38 +01:00
Karlatemp
8de404a69a
Fix shadowing libraries that another used; fix #2070 2022-06-08 00:28:42 +08:00
微莹·纤绫
b2c895bc2b
Support launch dev console in idea (#2058)
* Support launch dev console in idea

* Update idea project creator templates

* document update
2022-06-07 00:09:58 +08:00
Karlatemp
97a37a196f
Fix nested projects building; Fix #2038 2022-05-18 17:24:39 +08:00
Karlatemp
92a5babf1c
Using a released version to run gradle tests 2022-05-18 17:24:39 +08:00
Karlatemp
78d0cdd155
Fix bom dependencies again; Fix #1975 2022-05-05 22:44:48 +08:00
Him188
6b5f9e2eef Change file suffix of new plugins to '.mirai2.jar'. Ignore '.mirai.jar' if its '.mirai2.jar' counterparts loaded. Close #1999 2022-05-01 17:59:05 +01:00
Him188
112bf537cc Try useExperimentalAnnotation if optIn not defined 2022-04-24 15:30:02 +01:00
Him188
a4562a7aef buildPlugin: Change output directory back to build/mirai 2022-04-24 15:30:02 +01:00
Him188
0e72fe9757 Use optIn, close #1986 2022-04-24 15:20:14 +01:00
Karlatemp
e6e8f77f41
Skip if dependencies have no jars; fix #1975 2022-04-22 23:58:12 +08:00
Karlatemp
7f3b67ad9e
Fix gradle multi-projects packaging error; fix #1973 2022-04-22 23:46:54 +08:00
Him188
4acd74974a Migrate deprecated usages and cleanup code 2022-04-13 13:08:14 +01:00
Karlatemp
5e0a187bc0
Fix group of buildPlugin; fix #1921 2022-03-10 23:36:29 +08:00
Karlatemp
5df5ecc444
gradle plugin 2022-02-21 21:20:51 +08:00
Him188
7d3971259d
Review deprecation for 2.10. close #1742 (#1774) 2022-01-14 18:26:44 +00:00
Him188
1f03374eb4 Disable gradle daemon in tests 2021-12-21 03:14:09 +00:00
Him188
37a54bd533 Set JVM Xmx for Gradle tests 2021-12-21 03:14:09 +00:00
Him188
8fe02ba90d Move all files into mirai-console subfolder 2021-12-06 14:51:44 +00:00