Repository navigation
Reduce Maven Central upload size: vanniktech 0.37.0, empty javadoc jars - #1
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. The 0.19.0 release alone was ~1240 files and ~40 MB..ascsignatures and sha256/sha512 checksums by default, so each artifact drops from ~60 to ~20 files.libandsyntax. It was only used to buildjavadoc.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 (dslanddecompileralready ship one). Targets are unchanged.Verified locally:
./gradlew build publishToMavenLocal --no-configuration-cachepasses, all 24 javadoc jars are 261 B, and sources jars are still published.