Skip to content

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

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

rinekri merged 1 commit into
masterfrom
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.

  • 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. It was only used to build javadoc.jar, and the same 2–4 MB jar was copied into every KMP publication. Central only requires that a javadoc jar exists, and IDEs read -sources.jar, so an empty javadoc jar is enough.

Verified locally: ./gradlew build publishToMavenLocal passes, way, way-jvm and way-compose javadoc jars are 261 B (way-compose set explicitly via AndroidSingleVariantLibrary(javadocJar = JavadocJar.Empty()), otherwise it falls back to a 290 KB Android javadoc), and sources jars are still published.

@rinekri
rinekri merged commit 0417f83 into master Oct 25, 2026
1 check passed
@rinekri
rinekri deleted the chore/maven-central-usage branch November 9, 2026 15:16
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