Commit Graph

66 Commits

Author SHA1 Message Date
Him188
8ff64d4a7f
Remove native (#2700)
* Remove native target

* Add foojay-resolver-convention

* disable windows
2023-06-16 13:40:46 +01:00
Him188
2ef89d2b3f [build] Do not apply Android-relevant plugins if Android target is not enabled 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
cd18eb857d
[gradle] Suppress deprecation on compileKotlinTask since we still need to support older Kotlin versions 2023-05-01 11:08:03 +01:00
Samarium
f0bdd18d26
[idea] feat: provide an option for whether to use the proxy repo (#2636)
* feat(idea): set proxy repository for gradle plugins

* feat(idea): provide an option for whether to use the proxy repo

* chore: update copyright

* fix: rename the message key
2023-04-24 15:22:38 +01:00
Samarium
a397ee9959
[idea] feat: set jvmTarget version explicitly (#2631)
feat(idea): set jvmTarget version explicitly
2023-04-18 10:08:32 +01:00
Samarium
f28a1a0f0d
[idea] feat: generate gradle-wrapper.properties and src/test directory (#2622)
feat: generate gradle-wrapper.properties and src/test directory
2023-04-15 15:01:10 +01:00
Him188
bddee1fd20
[idea] Update to IDEA 2023.1, plugin version 231-2.15.0-182-1
close #2606
2023-04-01 18:26:17 +01:00
Him188
427c37e649
[build] Update to Kotlin 1.8.10 2023-03-19 03:18:34 +00:00
Him188
eb0891fe24
[idea] Support IDEA 2022.3 2022-12-22 13:27:45 +00:00
Him188
9540bc95c5 [gradle+deps] Adjust memory limit for test Gradle instances 2022-11-27 15:25:18 +00:00
Him188
a6af7e82ea [build] Fix check-publishing actions 2022-11-27 15:25:18 +00:00
Him188
1f8524fb04
Fix all compiler warnings throughout the project 2022-10-21 17:00:37 +01:00
ヒューマンワーキング
8cb8a71f16
[intellij] 从 Maven Central 获取 kotlin jvm 版本 (#2244)
* get kotlin version from Gradle Plugins

* add `kotlinVersion` to project module

* add kotlin version cell to wizard initial step

* get dependency `kotlin-stlib-*` version from maven

* rename `KotlinJvmVersion` to `KotlinStdlibVersion`

* `KotlinJvmVersion.kt` -> `KotlinStdlibVersion.kt`
2022-09-23 22:02:43 +08:00
Him188
3ae6c2802e
[console] Change Aliyun public repository to central respiratory. Fix #2184 2022-08-20 16:19:40 +08:00
Him188
f5ff4be3a2
idea: Support 221-222. fix #2124 2022-07-20 18:51:25 +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
f962618bee Fix compiler warnings 2022-07-20 00:30:16 +08:00
Him188
7dbb1a5ad7 Add RunConfigurations 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
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
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
Him188
be832c7dbd
Support serializersModule for PluginData, close #1796. Improve PluginData.value type inference behavior: resolve exact returned type. (#1987)
Also support `MessageChain` and others from `MessageSerializers.serializersModule`, fix #1922.
2022-04-24 10:37:10 +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
d7f66e3ba5 Migrate use of deprecated LineMarkerInfo constructor 2022-04-20 17:56:12 +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
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
963d5f68b9 Support Kotlin 1.6.20-M1 for mirai-console-intellij 2022-02-12 12:45:38 +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