Commit Graph

58 Commits

Author SHA1 Message Date
Him188
705153c7d6 Update blocking bridge to 1.7.4 2021-01-23 15:24:14 +08:00
Him188
f1c6677af9 Add binary compatibility validator 2021-01-21 14:20:43 +08:00
Him188
0a23efa113 Rollback blocking bridge version to 1.6.0 to test binary compatibility 2021-01-21 14:15:45 +08:00
Him188
988794343b Improve buildscript, fix publication 2021-01-21 10:08:21 +08:00
Him188
6250f93408 Update blocking bridge to 1.7.2 2021-01-20 19:25:32 +08:00
Him188
7d3bcbeb1c Fix dokka 2021-01-12 18:57:42 +08:00
Him188
c3bbabc274 Use mirai-login-solver-selenium in jvmTest 2020-12-26 17:34:16 +08:00
Him188
c0c7853ab7 Fix build 2020-12-23 18:38:46 +08:00
Him188
ca04c180f0 Add ir configuration to buildscript 2020-12-22 20:56:19 +08:00
Him188
e3b553b4de Improve LoginSolver, close #703:
- Remove DefaultLoginSolver (originally experimental API)
- Add docs
- No default instance for Android platform
- LoginSolver.Default is nullable now (in case on Android platform)
- BotConfiguration.loginSolver is nullable now (meaning not provided by the user)
2020-12-20 09:19:52 +08:00
Him188
288f325ca0 Review MessageKey and Messages:
- Add `Image.isGroupImage`, `Image.isFriendImage`
- Simplify `FlashImage`:
  - Remove `GroupFlashImage`, `FriendFlashImage`
  - Java-friendly factory functions and Kotlin-friendly top-level constructor-like functions
- Unify names of constants in `PokeMessage.Key`
- Make constants in VipFace `@JvmField`
- Review `Image`:
  - Make `AbstractImage` internal (`@MiraiInternalApi`)
  - Improve docs
  - Move top-level regexes to companion statics
- Make Nudge.sendNudge static
- Opt-in `net.mamoe.mirai.message.data.ExperimentalMessageKey`
2020-12-10 13:54:40 +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
7bf8775261 Update buildscript 2020-11-22 11:57:53 +08:00
Him188
1e7aaaec48 Rearrange protocol implementations 2020-11-01 15:07:32 +08:00
Him188
54df8d63aa Set JVM target 1.8 2020-10-25 12:31:34 +08:00
Him188
f7c7452484 Set JVM target 1.8 2020-10-25 12:31:16 +08:00
Him188
0d96ea53d0 Fix build 2020-10-03 13:44:19 +08:00
Him188
80722aaea7 Pretty buildscript 2020-10-03 13:35:05 +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
Karlatemp
8f7a9f21aa
Remove md5 2020-10-02 23:17:56 +08:00
Him188
780598d6fa Add mirai-core-all 2020-09-22 18:56:27 +08:00
Him188
72a478f712 Update buildscript, add shadow md5 2020-09-22 13:23:08 +08:00
Karlatemp
34c325e014
Add md5 in shadow 2020-09-21 22:59:00 +08:00
Him188
4703095f46 Use JvmBlockingBridge 2020-08-18 22:09:05 +08:00
Him188
b175119f0f Merge branch 'master' into dev
# Conflicts:
#	buildSrc/src/main/kotlin/Versions.kt
#	gradle.properties
#	mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/QQAndroidBot.common.kt
#	mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/highway/HighwayHelper.kt
#	mirai-core/src/commonMain/kotlin/net.mamoe.mirai/network/LoginFailedException.kt
#	mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/event/JvmMethodListeners.kt
#	mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/utils/internal/retryCatching.jvm.kt
#	settings.gradle
2020-08-16 01:57:07 +08:00
Him188
87e76d4890 Update Kotlin version to 1.4 and relevant libraries 2020-07-31 16:29:25 +08:00
Him188
719b5ac7b5 Explicit api mode 2020-07-20 15:06:30 +08:00
Karlatemp
22550cafd2
Create java test. Fix #443 (#446)
* Create java test. Fix #443

* Typo

* gradle-kotlin-dsl
2020-07-17 20:43:26 +08:00
Karlatemp
f5165f7d77
Add Manifest; Disabling SwingSolver with vm property mirai.no-desktop (#362)
* Disabling SwingSolver with vm property 'mirai.no-desktop'

// for ssh
// java -Dmirai.no-desktop ....

* Add Manifest

* Removed Per-Entry Attributes

Co-authored-by: Him188 <Him188@mamoe.net>
2020-06-15 11:13:15 +08:00
Him188
4961b60494 Merge branch 'master' into dev 2020-06-12 14:43:12 +08:00
Him188
7565f5f1f1 Update dokka task, prefer HTML format than GFM, for #333 2020-06-11 15:35:48 +08:00
Him188
094bd72efb Add String.parserMiraiCode, close #264 2020-05-29 17:09:20 +08:00
Him188
5c808238dc
Add mirai-doc publishing workflow (#346)
* Update doc on push

* Optimize kotlin src block

* Generate by version

* Fix table optimizing

* Slowdown uploading

* Fix index.md to README.md

* Publish docs on release created
2020-05-24 20:26:06 +08:00
Him188
aad0cbe6e2 Setup mirai-doc publishing 2020-05-24 16:42:42 +08:00
Karlatemp
aa9e60a53d
Maven local 2020-05-23 15:25:37 +08:00
Him188
2a270d8498
Update build.gradle.kts 2020-05-10 01:11:57 +08:00
Him188
e75888a6e9 Add binary-validator 2020-05-09 15:37:02 +08:00
Him188
e69037e10f Fix cuiCloud 2020-05-06 14:00:32 +08:00
Him188
63241670e4 Remove repository mirror 2020-05-04 15:10:31 +08:00
Him188
9e4401260f Remove unnecessary repository since jcekt is included in jcenter 2020-05-04 14:53:50 +08:00
Him188
1305709d3e Extract JCE serialization to him188/jcekt. close #300 2020-05-04 14:48:01 +08:00
Him188
6af75c02f7 NO MORE FUCKING ANDROID TARGET 2020-04-10 16:13:03 +08:00
Him188
c8849fd797 Update build.gradle.kts 2020-04-08 10:39:13 +08:00
Him188
05f6259cb3
Cui cloud publishing & GitHub republishing (#177)
* Add CuiCloud tasks

* Add CuiCloud workflow

* Fix shadowJar

* Fix `reply` function prohibition in MessageSelectBuilder

* Fix doc

* Update CI

* Update CI

* Test CI

* Fix file

* Increase jvm memory limitation

* Add comments

* Remove unnecessary experimental api use

* Increase upload task timeout

* Fix sha

* Increase timeout

* Fix github

* Trigger publishing on release
2020-03-31 09:52:49 +08:00
Him188
e608c48813 Fix shadowJar 2020-03-29 19:30:07 +08:00
Him188
5982313d0a Exclude .sf files 2020-03-26 21:17:30 +08:00
Him188
c3f01f9027
Configure Shadow publish (#160)
* Test shadow

* Add print stacktrace

* Add more ways to find githubToken

* Error when failed to upload

* Try github token

* Use mamoe token

* Use header

* Rubbish actions

* Fix `GroupImpl.getGroupByUin`

* Triage shadow task on release
2020-03-25 16:16:21 +08:00
Him188
8325b7d4f9 Update workflow 2020-03-25 13:48:27 +08:00
Him188
e3baedfff2 Gradle tasks for uploading artifacts 2020-03-25 12:18:58 +08:00
Him188
588d2d16ca Gradle tasks for uploading artifacts 2020-03-25 11:47:09 +08:00