Commit Graph

33 Commits

Author SHA1 Message Date
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
ff2a8acb0c Implement multiplatform modules 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
16bbfdd36a
Override vulnerable Log4J version in mirai-console-gradle 2022-06-18 13:02:38 +01: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
7a6c7a89c0
Update docs for console plugin (#1995)
* Update docs for console plugin

* Update [skip ci]

* Update docs

Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2022-05-01 18:03:10 +01: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
Him188
eba7698345 Fix doc reference 2022-04-02 13:16:52 +01:00
Colerar
c76ec4209a Add docs for overriding jvmTarget. Fix #1798, close #1930 2022-03-16 16:16:11 +00: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
4a89da55fb Enable mirai-console-gradle publishing only when MIRAI_IS_SNAPSHOTS_PUBLISHING 2022-01-21 00:19:39 +00:00
Him188
7d3971259d
Review deprecation for 2.10. close #1742 (#1774) 2022-01-14 18:26:44 +00:00
Him188
b43e6c1957 Rename all 'fillBuildConstants' tasks to 'generateBuildConstants' and ensure generated files are not versioned. Update docs and CI build config 2022-01-10 23:27:23 +00:00
Karlatemp
4fcd19742b
Fix gradle-plugin 2022-01-05 00:24:46 +08:00
Karlatemp
de64a59087
Remove duplicated shadowJar 2021-12-29 12:45:10 +08:00
Him188
9ae59ec979 Configure publishing for mirai-console-gradle, fix #1768 2021-12-28 03:25:43 +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
aa98a10d12 Migrate references in docs 2021-12-06 14:58:45 +00:00
Him188
8fe02ba90d Move all files into mirai-console subfolder 2021-12-06 14:51:44 +00:00