Commit Graph

38 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
164f621427 [build] Fully support Android target; Update to Gradle 8.0 2023-05-02 16:17:48 +01:00
Him188
111236e0be
[build] Create "local.properties" on build if not exists 2023-05-01 11:08:12 +01: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
Karlatemp
5ac74a336f
Create module mirai-console-frontend-base 2022-09-06 18:21:37 +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
fd67ba9204 Configure shadow relocation and add checks for multiplatform publishing 2022-07-20 00:30:16 +08:00
Karlatemp
884e7a3ee4
Nested modules in console integration test 2022-03-30 08:48:28 +08:00
Karlatemp
6f24035154
Update mirai-console.integration-test 2022-01-15 19:17:04 +08: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
Him188
5368e6b809 Upgrade buildscript for Kotlin 1.6.0, use Gradle 7.2 2021-12-23 01:37:11 +00:00
微莹·纤绫
8d6b4b4970
[CONSOLE] Integration Test (#1741)
* [CONSOLE] Realtime Test Unit

* Rename to IntegrationTest; IDEA Debugging support

* External Plugins support

* Simply redesign
2021-12-18 22:59:43 +08:00
Him188
39dd1d5f7a buildscript: always include mirai-console 2021-12-06 14:58:27 +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
AdoptOSS
8bd3d94537
Introduce mirai-bom for dependency management (#1417)
* Introduce `mirai-bom` for dependency management

* Update docs on `mirai-bom`

* Remove unnecessary `mirai-bom:publish` in workflow

Co-authored-by: ArcticLampyrid <arcticlampyrid@outlook.com>
2021-10-09 09:18:58 +01:00
Him188
da9dd1e353 Add gradle configuration "use.maven.local" 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
cda50e73a4 Remove JCenter repository 2021-08-25 14:18:40 +08:00
Him188
20a14fc716 Add adapter modules for logging libraries to connect with mirai logger 2021-08-11 15:24:32 +08:00
Him188
5e25c0e25b Remove bintray 2021-05-25 12:25:53 +08:00
Bo Zhang
aacdf0df2c Use Gradle JavaVersion API 2021-04-07 23:39:43 +08:00
Him188
7867294f4d Remove maven local and kotlinx jcenter repositories 2021-03-01 10:23:20 +08:00
Him188
1d68c6ab68 Don't checkout submodules remotely in CI builds 2021-02-27 14:44:46 +08:00
Him188
9c3a175b02 Configure binary compatibility validator for android target 2021-02-24 11:36:03 +08:00
Karlatemp
fb2632073b
Auto release to maven central 2021-02-06 22:39:09 +08:00
Him188
3704604544 Extract ResolveContext and RestrictedScope to separate modules 2021-01-29 07:44:22 +08:00
Him188
5f9625c35e Don't include mirai-console if submodule not configured 2021-01-28 09:46:57 +08:00
Him188
e0476d7e14 Include mirai-console in mirai project build 2021-01-28 09:32:23 +08:00
Him188
f1c6677af9 Add binary compatibility validator 2021-01-21 14:20:43 +08:00
Him188
c0d95ae958
Introduce EventChannel (#753)
* Introduce EventChannel, close #514

* Fix generics in EventChannel

* Don't require Job in CoroutineScope for EventChannel.parentScope

* Don't attach child job on EventChannel.parentJob

* Improve tests

* Fix tests

* Merge with dev
2020-12-25 18:49:34 +08:00
Him188
82f24b736c Fix HMPP platform structure 2020-12-18 15:37:13 +08:00
Him188
bf88731086 Fix publishing and add mirai-core-all 2020-12-17 12:41:44 +08:00
Him188
8fdfe830fe Introduce new module mirai-core-utils 2020-12-02 09:25:25 +08:00
Him188
b8002d4b4d Hierarchical MPP:
- JDK in common target
- Disabled common compilations
- Android targets
- Kotlin 1.4.20
2020-11-22 14:25:49 +08:00
Him188
1e7aaaec48 Rearrange protocol implementations 2020-11-01 15:07:32 +08:00
Him188
a9d4d14576 Rearrange module structure:
- Rename mirai-core to mirai-core-api
- Rename mirai-core-qqandroid to mirai-core
- Rename package net.mamoe.mirai.qqandroid to net.mamoe.mirai.internal
- Delete old android targets
- Configure default packages correctly
- Update licenses
2020-10-03 12:42:13 +08:00