Skip to content

Do not add web fonts to javadoc - #7895

Merged
jonatan-ivanov merged 1 commit into
micrometer-metrics:1.16.xfrom
jonatan-ivanov:disable-webfonts
Aug 31, 2026
Merged

jonatan-ivanov merged 1 commit into
micrometer-metrics:1.16.xfrom
jonatan-ivanov:disable-webfonts

Conversation

@jonatan-ivanov

Copy link
Copy Markdown
Member

Prior to this change, every module that generated a javadoc.jar included web fonts that add about 4MiB to the size of the generated jar.

On my machine, by running ./gradlew pTML, this means the following change in size of the publishing folder:

  • 1.18.x: 144.0 -> 16.7 MiB
  • 1.16.x: 142.4 -> 15.1 MiB

Prior to this change, every module that generated a javadoc.jar
included web fonts that add about 4MiB to the size of the generated jar.
@jonatan-ivanov jonatan-ivanov added this to the 1.16.8 milestone Aug 28, 2026
@jonatan-ivanov jonatan-ivanov added type: task A general task build A change in our build-system labels Aug 28, 2026

@shakuzen shakuzen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine. I suppose it's worth mentioning the motivation for this is the new Maven Central limitations.

@shakuzen

Copy link
Copy Markdown
Member

I assume the PR target should be 1.16.x instead of main

@jonatan-ivanov
jonatan-ivanov changed the base branch from main to 1.16.x August 31, 2026 18:17
@jonatan-ivanov
jonatan-ivanov merged commit 3a44000 into micrometer-metrics:1.16.x Aug 31, 2026
11 checks passed
@jonatan-ivanov
jonatan-ivanov deleted the disable-webfonts branch August 31, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build A change in our build-system type: task A general task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants