Skip to content

Commit 298e1db

Browse files
committed
Skip web fonts in module javadocs
Prior to this commit, module javadoc packages like "spring-core-7.0.8-javadoc.jar" would contain 4MB of web fonts in the `resource-files/fonts/` folder. This increases significantly (often doubles) the size of the javadoc JAR for little value. With this commit, Web fonts are packaged with the aggregated Javadocs for the entire Spring Framework project, but are skipped for inidividual modules. Closes gh-36889
1 parent 3f7f75a commit 298e1db

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

gradle/spring-module.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ javadoc {
8484
// cross-module @see and @link references which are only reachable
8585
// when running the global 'framework-api:javadoc' task.
8686
addBooleanOption('Werror', false)
87+
// do not ship 4MB of web fonts for single modules
88+
addBooleanOption("-no-fonts", true)
8789
}
8890

8991
// Attempt to suppress warnings due to cross-module @see and @link references.

0 commit comments

Comments
 (0)