Repository navigation
Reduce Maven Central upload size: vanniktech 0.37.0, empty javadoc jars - #14
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reduces what each release uploads to Maven Central. The
ru.kodenamespace 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..ascsignatures and sha256/sha512 checksums by default, so each artifact drops from ~60 to ~20 files.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 publishToMavenLocalpasses,way,way-jvmandway-composejavadoc jars are 261 B (way-composeset explicitly viaAndroidSingleVariantLibrary(javadocJar = JavadocJar.Empty()), otherwise it falls back to a 290 KB Android javadoc), and sources jars are still published.