mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 14:00:55 +03:00
Fonts: do not skip all gradle font tasks when building snapshots and releases because they are used in demo and theme editor
This commit is contained in:
@@ -42,10 +42,6 @@ java {
|
||||
}
|
||||
|
||||
tasks {
|
||||
all {
|
||||
onlyIf { !rootProject.hasProperty( "skipFonts" ) }
|
||||
}
|
||||
|
||||
named<Jar>( "sourcesJar" ) {
|
||||
exclude( "**/*.ttf", "**/*.otf" )
|
||||
}
|
||||
@@ -54,6 +50,10 @@ tasks {
|
||||
useJUnitPlatform()
|
||||
testLogging.exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
|
||||
}
|
||||
|
||||
publish {
|
||||
onlyIf { !rootProject.hasProperty( "skipFonts" ) }
|
||||
}
|
||||
}
|
||||
|
||||
flatlafPublish {
|
||||
|
||||
@@ -42,10 +42,6 @@ java {
|
||||
}
|
||||
|
||||
tasks {
|
||||
all {
|
||||
onlyIf { !rootProject.hasProperty( "skipFonts" ) }
|
||||
}
|
||||
|
||||
named<Jar>( "sourcesJar" ) {
|
||||
exclude( "**/*.ttf", "**/*.otf" )
|
||||
}
|
||||
@@ -54,6 +50,10 @@ tasks {
|
||||
useJUnitPlatform()
|
||||
testLogging.exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
|
||||
}
|
||||
|
||||
publish {
|
||||
onlyIf { !rootProject.hasProperty( "skipFonts" ) }
|
||||
}
|
||||
}
|
||||
|
||||
flatlafPublish {
|
||||
|
||||
Reference in New Issue
Block a user