Skip to content

chore: upgrade build & publishing tooling for Maven Central limits - #90

Merged
nathanfallet merged 2 commits into
mainfrom
chore/publishing-upgrade
Oct 10, 2026
Merged

nathanfallet merged 2 commits into
mainfrom
chore/publishing-upgrade

Conversation

@nathanfallet

Copy link
Copy Markdown
Member

Same setup as kotlinds/kotlinds#6, to fit within the Maven Central publishing limits (dev.kdriver: 3,920 files/month).

Changes

  • Gradle 8.12 → 9.8.0, Kotlin 2.3.0 → 2.4.20, KSP 2.3.12, Kover 0.9.11 (detekt unchanged at 1.23.8)
  • gradle-maven-publish-plugin 0.30.0 → 0.37.0: only md5/sha1 checksums, no checksums of .asc files; publishToMavenCentral() without SonatypeHost
  • Empty javadoc jars (JavadocJar.Empty()): the full docs stay on kdriver.dev, IDE docs come from the sources jars
  • Dokka 2.0.0 → 2.2.0 (v2 plugin): root aggregation with dokka(projects.x); docs workflow runs :dokkaGenerate and copies build/dokka/html into api/ (same URLs as today)
  • Drop deprecated Apple x64 targets (macosX64, iosX64, tvosX64, watchosX64)
  • cdp-generate: kotlin-gradle-plugin 2.1.21 → 2.4.20 to match the build
  • Version stays at 0.6.1 (bump at release time)

Impact per release

0.6.1 (published) this PR
Publications 29 24
Files on Central 1,630 ~532
JVM bytecode 65 (Java 21) 65 (Java 21)

Verification

  • jvmTest, macosArm64Test, koverXmlReport (CI tasks) pass
  • publishToMavenLocal OK: 133 artifacts, all signed, every javadoc jar contains only a manifest
  • :dokkaGenerate: 10,566 pages, same module paths as the live site. 13 broken internal links are already broken on kdriver.dev today (internal MessageSerializer, --root-- pages)
  • generateCdp task still registered (not run: it re-downloads the protocol and rewrites sources)

Consumers need Kotlin 2.4 for the multiplatform targets; consumers on Intel-Mac / x64 simulator targets lose those variants.

🤖 Generated with Claude Code

- Gradle 9.8.0, Kotlin 2.4.20, KSP 2.3.12, Kover 0.9.11
- gradle-maven-publish-plugin 0.37.0: md5/sha1 only, no checksums of .asc files
- Empty javadoc jars (the Dokka site lives on kdriver.dev)
- Dokka 2.2.0 (v2 plugin): root aggregation, docs CI uses :dokkaGenerate
- Drop deprecated Apple x64 targets (macosX64, iosX64, tvosX64, watchosX64)
- cdp-generate: kotlin-gradle-plugin 2.4.20 to match the build

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@nathanfallet
nathanfallet marked this pull request as ready for review October 10, 2026 06:55
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nathanfallet
nathanfallet merged commit 00a65ff into main Oct 10, 2026
9 of 11 checks passed
@nathanfallet
nathanfallet deleted the chore/publishing-upgrade branch October 10, 2026 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant