Commit Graph

244 Commits

Author SHA1 Message Date
Karlatemp
49fdc19763 Bump junit to 5.7.2 2021-05-31 00:15:02 +08:00
Him188
bcdff1336b
Kotlin 1.5 and dependencies updates (#1246)
* Kotlin 1.5 and dependencies updates

* Update mirai-console ref

* Use Kotlin 1.5.10

* 2.7-M1-dev-3

* Update console ref
2021-05-27 14:39:13 +08:00
Him188
5e25c0e25b Remove bintray 2021-05-25 12:25:53 +08:00
Him188
58d2081494 Add suppress for ExperimentalSerializationApi 2021-05-09 00:54:48 +08:00
Him188
eb80a4836b Remove all unstable kotlin.Duration usages 2021-05-09 00:54:48 +08:00
Him188
e08fc5d874 Build: add slf4j 2021-05-09 00:54:48 +08:00
Him188
a143340141 Buildscript: Fix test artifacts included in main sourceset 2021-05-09 00:54:48 +08:00
Him188
b844efb072 New network: framework infrastructure 2021-05-09 00:54:48 +08:00
Him188
cb2b0f4423 Release version 2.6.4 2021-05-06 23:41:28 +08:00
Him188
70dc0a4da6
Remove kotlin.time.Duration usages (#1215)
* Remove kotlin.Duration usages

* Fix build

* update submodule console ref
2021-04-27 11:49:30 +08:00
Him188
2dc96999f1 2.7-M1-dev-2 2021-04-25 11:42:29 +08:00
Him188
30a81738b9 2.7-M1-dev-1 2021-04-18 14:39:22 +08:00
Him188
9debb850b7 Release version 2.6.1 2021-04-17 19:09:26 +08:00
Him188
1dce29a154 Release version 2.6.0 2021-04-16 09:01:25 +08:00
Him188
6cd45c7746 Release version 2.6-RC 2021-04-10 20:15:22 +08:00
Karlatemp
0f54e2aa27
Fix https://github.com/mamoe/mirai/pull/1167#discussion_r608537316 (#1174) 2021-04-08 22:22:17 +08:00
Him188
c0d7a90264 Update yamlkt to 0.9.0 2021-04-08 01:48:46 +08:00
Him188
82ec29b311 Make mirai-console compatible with IDEA 2021.1 2021-04-08 01:44:40 +08:00
Him188
e5f0adfd7e build: update intellijGradlePlugin to 0.7.2 and allow using property flatten.sourceset to disable flatten sourceSets 2021-04-06 12:10:29 +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
AdoptOSS
21e8852e0f
buildscript: fix task not found errors when android sdk not available (#1161)
* buildscript: fix task not found errors when android sdk not available

* fix: this shadowed by run

* cleanup: code style

* improve: avoid breaking index map
2021-04-05 22:35:38 +08:00
Him188
45294e1538 Update to 2.6-M2 2021-04-04 19:26:31 +08:00
Him188
30cb70f67f Release version v2.6-M1 2021-03-30 22:14:14 +08:00
Him188
c8e0eccf67 2.5.1-dev-1 2021-03-27 15:41:09 +08:00
Him188
0723c5c568 Release version 2.5.0 2021-03-26 11:48:20 +08:00
Him188
aa1aaf1ada Update serialization version to 1.1.0
Fix unresolved reference on Maven sync due to kotlin-stdlib:1.4.30-370
2021-03-26 10:19:54 +08:00
Him188
474de03e19 Release version 2.5-RC 2021-03-20 22:35:28 +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
5521bb2eec Add swing dependency to buildSrc for mirai-console-intellij 2021-03-19 23:12:02 +08:00
Him188
eca12954b5 2.5-RC-dev-1 2021-03-19 09:11:37 +08:00
Him188
9d28540073 Update blocking bridge version to 1.10.3, fix NoClassDefFoundError, fix #1078 2021-03-18 12:36:53 +08:00
Him188
7a4d1f2763 Release version 2.5-M2 2021-03-09 09:07:30 +08:00
Him188
e256ec06d3
Support file operations (#1069)
* Proto structs for group file

* RemoteFile fundamental abstraction and proto structs

* Configure JVM target for mirai-console-intellij

* Add Group.filesRoot

* Fix build

* Implement a FileSystem for RemoteFile resolution

* Fix RemoteFile FileSystem and implement resolve and listFiles

* Implement file info query and file download

* Support uploading group file

* Support file feeds

* 2.5-M2-dev-1

* Fix tests

* 2.5-M2-dev-2

* Add uuid-based resolving, support getting file details

* Support FileMessage receive

* Support sending FileMessage

* 2.5-M2-dev-3

* Add DownloadInfo.id

* Improve RemoteFile.delete

* Support move, delete, rename, mkdir. Simplify listFiles

* - Rename RemoteFile.write to .upload.
- Prefer id matching
- Improve move

* Add permission checks

* Improve permission checks

* Rearrange functions and add constant ROOT_PATH

* Introduce FileSupported, add extensions

* Introduce ProgressionCallback

* Fix docs and uploadFileAndSend

* Remove empty FileHighway.kt

* Add test testNormalize

* Add RemoteFile.contact, change RemoteFile.uploadAndSend return type to MessageReceipt

* Move @JvmBlockingBridge to file

* Change FileMessage.toRemoteFile parameter type Group to FileSupported

* Add impl notes #1082
2021-03-08 18:34:45 +08:00
Him188
0183981b63 Release version 2.5-M1 2021-02-27 14:46:36 +08:00
Karlatemp
7b7730601f
Include api-versions.xml in repo 2021-02-26 18:32:44 +08:00
Him188
8c5727800c Release 2.5.0-dev-android-1 2021-02-25 13:11:21 +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
cdf2235b7a Fix typo 2021-02-25 09:43:10 +08:00
Karlatemp
7a7c88b783
Android api level check 2021-02-25 00:12:58 +08:00
Him188
95688e37af
Update to Kotlin 1.4.30 and bump other dependencies versions (#1049)
- kotlin-stdlib and compiler 1.4.30
- kotlinx-serialization 1.1.0-RC
- kotlinx-coroutines 1.4.2
- ktor 1.5.1
- atomicfu 0.15.1
- yamlkt 0.9.0
- kotlin-jvm-blocking-bridge 1.10.0
- intellij 2020.3.2
- kotlin-intellij 203-1.4.30-release-IJ7148.5
- Gradle 6.8.2
2021-02-24 12:15:19 +08:00
Him188
0529d7679b Enable android target always 2021-02-24 12:14:02 +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
Karlatemp
2eaa13a7c2
Release 2.5.0-dev-2 2021-02-18 01:15:48 +08:00
Karlatemp
6e2ae6b3af
Update caller-finder version 2021-02-15 10:42:37 +08:00
Him188
16e7af43ba Release v2.5.0-dev-1 2021-02-13 17:44:31 +08:00
Him188
c82efff696 Release v2.4-RC 2021-02-11 19:18:11 +08:00
Karlatemp
b3e9e2a91b
Remote repositories name 2021-02-10 10:06:41 +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