Commit Graph

111 Commits

Author SHA1 Message Date
Him188
2ef89d2b3f [build] Do not apply Android-relevant plugins if Android target is not enabled 2023-05-02 16:17:48 +01:00
Him188
178ca6c1b5 [build] Rewrite shadow relocation; fix dependency graph issues with Android, and improve build performance:
- Generate relocated JARs with classifier `relocated`, instead of replacing the output of `:jar` task.

- Create `JvmRelocated` publications to publish relocated artifacts.

- Patch Kotlin Metadata and Maven Pom for the added publication.

- Updated deps test to be more strict
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
Karlatemp
0a60c5147e
[build] Use project lazy instead of global lazy 2023-04-05 13:10:47 +08:00
Him188
427c37e649
[build] Update to Kotlin 1.8.10 2023-03-19 03:18:34 +00:00
Karlatemp
889a78e572
[publish] Delete GpgSigner 2022-11-29 15:27:37 +08:00
Him188
4c8a18edb7 [build] Fix shadow task dependencies and check-publishing actions 2022-11-27 15:25:18 +00:00
Him188
c0ccdbe9d3 [build] Rewrite shadow relocation 2022-11-27 15:25:18 +00: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
Him188
7088835402 HMPP 2022-07-20 00:30:16 +08:00
Him188
f7906b4aef
Use "com.gradle.plugin-publish" 1.0.0-rc-3 2022-06-18 13:02:38 +01:00
xtexChooser
cb08f4789c
buildscript: remove unused codes (#2000) 2022-04-30 14:03:39 +01:00
Him188
06d17274a2 Use kotlin-dynamic-delegation 2022-01-10 23:27:23 +00:00
Him188
7f0cb4581e Fix dokka configure 2022-01-06 20:26:52 +00:00
Him188
194e9ced44 Use unified plugin version: org.jetbrains.kotlinx.binary-compatibility-validator 2022-01-06 20:26:52 +00:00
Him188
3d864362aa Generalize binary validator 2022-01-06 20:26:52 +00:00
Karlatemp
6b571e163d
Fix jvmTarget; fix #1795; fix #1765 2022-01-04 23:59:13 +08:00
Him188
8845472e38 Revert "Set version to 2.10.0-RC"
This reverts commit 312162d02b.
2021-12-27 18:25:34 +00:00
Him188
312162d02b Set version to 2.10.0-RC 2021-12-27 17:15:56 +00:00
Him188
7faf630454 Update kotlin-jvm-blocking-bridge to 2.0.0-160.2 2021-12-23 01:37:11 +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
Him188
66999aadaf Migrate to Kotlin 1.5.30 and review dependencies:
- Remove redundant atomicfu-common
- Do not expose kotlinx-io and atomicfu
2021-09-01 18:52:36 +08: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
Karlatemp
28c2309fbb
Add version info in META-INF/MANIFEST.MF (#1355) 2021-06-23 14:57:34 +08:00
Him188
f2ca8e1eff Revert "Fix kt compiler errors (#1159)"
This reverts commit b227f719
2021-06-19 23:58:27 +08:00
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