mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 08:24:13 +00:00
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
This commit is contained in:
@@ -84,6 +84,8 @@ javadoc {
|
||||
// cross-module @see and @link references which are only reachable
|
||||
// when running the global 'framework-api:javadoc' task.
|
||||
addBooleanOption('Werror', false)
|
||||
// do not ship 4MB of web fonts for single modules
|
||||
addBooleanOption("-no-fonts", true)
|
||||
}
|
||||
|
||||
// Attempt to suppress warnings due to cross-module @see and @link references.
|
||||
|
||||
Reference in New Issue
Block a user