Skip to content

Reduce Maven Central upload size: vanniktech 0.37.0, empty javadoc jars - #1

Merged
rinekri merged 1 commit into
mainfrom
chore/maven-central-usage
Oct 25, 2026
Merged

rinekri merged 1 commit into
mainfrom
chore/maven-central-usage

Conversation

@rinekri

@rinekri rinekri commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Reduces what each release uploads to Maven Central. The ru.kode namespace is over the Sonatype Usage Center limits (file count 216%, release size 58/80 MB), and over-limit releases get blocked after 2026-11-23. The 0.19.0 release alone was ~1240 files and ~40 MB.

  • Bump vanniktech maven-publish 0.36.0 → 0.37.0. 0.37 stops uploading checksums of .asc signatures and sha256/sha512 checksums by default, so each artifact drops from ~60 to ~20 files.
  • Remove Dokka from lib and syntax. It was only used to build javadoc.jar, and the same 2.3 MB / 3.9 MB jar was copied into all 6 KMP publications. Central only requires that a javadoc jar exists, and IDEs read -sources.jar, so an empty javadoc jar is enough (dsl and decompiler already ship one). Targets are unchanged.

Verified locally: ./gradlew build publishToMavenLocal --no-configuration-cache passes, all 24 javadoc jars are 261 B, and sources jars are still published.

@rinekri
rinekri merged commit 5ae5df5 into main Oct 25, 2026
3 checks passed
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