Skip to content

Commit ba7cd23

Browse files
authored
GH-11099: Do not ship javadoc web fonts for individual modules
Fixes: #11099 Web fonts use 4MB of space per "-javadoc.jar" file, for each module shipped by the project. While those are useful when browsing the javadoc, this project aggregates all javadocs under a single JAR and hosts it on doc.spring.io. This commit skips the inclusion for the individual modules' javadoc since those are mainly used by IDEs. The web fonts are still available for the aggregated version. Signed-off-by: Brian Clozel <brian.clozel@broadcom.com> **Auto-cherry-pick to `7.0.x`**
1 parent 127a695 commit ba7cd23

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ configure(javaProjects) { subproject ->
153153
tasks.withType(Javadoc) {
154154
options.addBooleanOption('Xdoclint:syntax', true) // only check syntax with doclint
155155
options.addBooleanOption('Werror', true) // fail build on Javadoc warnings
156+
options.addBooleanOption('-no-fonts', true) // exclude fonts from module javadoc
156157
}
157158

158159
eclipse {

0 commit comments

Comments
 (0)