Commit Graph

83 Commits

Author SHA1 Message Date
Karlatemp
ef439f1dea
Fix API check 2021-06-07 12:33:31 +08:00
Karlatemp
f03fe168fd
Fix binary-compatibility-validator 2021-06-07 12:16:58 +08:00
Him188
5e25c0e25b Remove bintray 2021-05-25 12:25:53 +08:00
Him188
ece455f79e Unified junit version, update junit to 5.4.2 2021-04-06 00:11:12 +08:00
Karlatemp
b227f719a2
Fix kt compiler errors (#1159)
* Fix kt compiler errors

* Revert "Fix compiler bug, fix #1136"

This reverts commit 39f6c168

* Fix log style

Co-authored-by: Him188 <Him188@mamoe.net>
2021-04-05 22:41:26 +08:00
Karlatemp
f9353b6aef
Compiled code verify (#1080)
* Compiled code verify

* Run `verifyCompiledClasses` in `check` task

* Redesign verification

Co-authored-by: Bo Zhang <bo@gradle.com>

* Disable console verify

* Decoupling

Co-authored-by: Bo Zhang <bo@gradle.com>
2021-03-20 13:34:04 +08:00
Him188
7867294f4d Remove maven local and kotlinx jcenter repositories 2021-03-01 10:23:20 +08:00
Him188
22ab149024 Fix configureJvmTarget 2021-02-25 11:11:28 +08:00
Him188
aaab3ae109 Merge branch 'dev' into android_target
# Conflicts:
#	build.gradle.kts
2021-02-25 10:39:51 +08:00
Him188
4d3f8ad56b Remove mistakenly added kotlin-test dependencies in main source sets 2021-02-25 09:26:57 +08:00
Him188
9c3a175b02 Configure binary compatibility validator for android target 2021-02-24 11:36:03 +08:00
Him188
0b971b2117 Merge branch 'dev' into android_target
# Conflicts:
#	build.gradle.kts
#	buildSrc/src/main/kotlin/Versions.kt
2021-02-24 09:20:47 +08:00
Him188
333103eca7 Merge remote-tracking branch 'mirai/dev' into dev 2021-02-24 09:17:24 +08:00
Him188
6a6ce4a401 Temporarily remove Dokka to fix build 2021-02-24 09:16:49 +08:00
Karlatemp
6e2ae6b3af
Update caller-finder version 2021-02-15 10:42:37 +08:00
Karlatemp
32ef89add1
Merge remote-tracking branch 'origin/dev' into maven-central
# Conflicts:
#	.github/workflows/bintray.yml
#	.github/workflows/release.yml
2021-02-10 10:01:07 +08:00
Bo Zhang
d998b655e5
Use build scan instead of --info --stacktrace (#1008)
So we can have much neater build logs
2021-02-09 21:58:27 +08:00
Karlatemp
fb2632073b
Auto release to maven central 2021-02-06 22:39:09 +08:00
Karlatemp
d37675f5c2
GPG sign for artifacts 2021-02-05 17:38:27 +08:00
Him188
14258b8212 Add task cleanExceptIntellij 2021-02-03 21:28:04 +08:00
Him188
bacfef584f Add android compilation target 2021-02-01 12:23:28 +08:00
Him188
4f17780ac5 - Fix publishing
- Remove root module publication
2021-01-30 20:32:21 +08:00
Him188
33fc9c9daa Optimize workflows 2021-01-28 11:51:32 +08:00
Him188
550899afa0 Configure experimental annotations, binary compatibility validator, dokka, build, publishing, for mirai-console. 2021-01-28 10:13:43 +08:00
Him188
e0476d7e14 Include mirai-console in mirai project build 2021-01-28 09:32:23 +08:00
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