mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 22:10:54 +03:00
Fonts: fixed gradle build error and javadoc warnings
This commit is contained in:
@@ -38,6 +38,10 @@ dependencies {
|
||||
testRuntimeOnly( "org.junit.jupiter:junit-jupiter-engine" )
|
||||
}
|
||||
|
||||
flatlafModuleInfo {
|
||||
dependsOn( ":flatlaf-core:jar" )
|
||||
}
|
||||
|
||||
java {
|
||||
withSourcesJar()
|
||||
withJavadocJar()
|
||||
|
||||
@@ -146,8 +146,8 @@ public class FlatInterFont
|
||||
* This is the preferred method (when using FlatLaf) to avoid unnecessary loading of maybe unused fonts.
|
||||
* <p>
|
||||
* <strong>Note</strong>: When using '{@code new Font(...)}', you need to first invoke
|
||||
* {@link FontUtils#loadFontFamily(family)} to ensure that the font family is loaded.
|
||||
* When FlatLaf loads a font, or when using {@link FontUtils#getCompositeFont(family, style, size)},
|
||||
* {@link FontUtils#loadFontFamily(String)} to ensure that the font family is loaded.
|
||||
* When FlatLaf loads a font, or when using {@link FontUtils#getCompositeFont(String, int, int)},
|
||||
* this is done automatically.
|
||||
*/
|
||||
public static void installLazy() {
|
||||
|
||||
@@ -38,6 +38,10 @@ dependencies {
|
||||
testRuntimeOnly( "org.junit.jupiter:junit-jupiter-engine" )
|
||||
}
|
||||
|
||||
flatlafModuleInfo {
|
||||
dependsOn( ":flatlaf-core:jar" )
|
||||
}
|
||||
|
||||
java {
|
||||
withSourcesJar()
|
||||
withJavadocJar()
|
||||
|
||||
@@ -101,8 +101,8 @@ public class FlatJetBrainsMonoFont
|
||||
* This is the preferred method (when using FlatLaf) to avoid unnecessary loading of maybe unused fonts.
|
||||
* <p>
|
||||
* <strong>Note</strong>: When using '{@code new Font(...)}', you need to first invoke
|
||||
* {@link FontUtils#loadFontFamily(family)} to ensure that the font family is loaded.
|
||||
* When FlatLaf loads a font, or when using {@link FontUtils#getCompositeFont(family, style, size)},
|
||||
* {@link FontUtils#loadFontFamily(String)} to ensure that the font family is loaded.
|
||||
* When FlatLaf loads a font, or when using {@link FontUtils#getCompositeFont(String, int, int)},
|
||||
* this is done automatically.
|
||||
*/
|
||||
public static void installLazy() {
|
||||
|
||||
@@ -38,6 +38,10 @@ dependencies {
|
||||
testRuntimeOnly( "org.junit.jupiter:junit-jupiter-engine" )
|
||||
}
|
||||
|
||||
flatlafModuleInfo {
|
||||
dependsOn( ":flatlaf-core:jar" )
|
||||
}
|
||||
|
||||
java {
|
||||
withSourcesJar()
|
||||
withJavadocJar()
|
||||
|
||||
@@ -143,8 +143,8 @@ public class FlatRobotoFont
|
||||
* This is the preferred method (when using FlatLaf) to avoid unnecessary loading of maybe unused fonts.
|
||||
* <p>
|
||||
* <strong>Note</strong>: When using '{@code new Font(...)}', you need to first invoke
|
||||
* {@link FontUtils#loadFontFamily(family)} to ensure that the font family is loaded.
|
||||
* When FlatLaf loads a font, or when using {@link FontUtils#getCompositeFont(family, style, size)},
|
||||
* {@link FontUtils#loadFontFamily(String)} to ensure that the font family is loaded.
|
||||
* When FlatLaf loads a font, or when using {@link FontUtils#getCompositeFont(String, int, int)},
|
||||
* this is done automatically.
|
||||
*/
|
||||
public static void installLazy() {
|
||||
|
||||
Reference in New Issue
Block a user