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 {
|
tasks {
|
||||||
all {
|
|
||||||
onlyIf { !rootProject.hasProperty( "skipFonts" ) }
|
|
||||||
}
|
|
||||||
|
|
||||||
named<Jar>( "sourcesJar" ) {
|
named<Jar>( "sourcesJar" ) {
|
||||||
exclude( "**/*.ttf", "**/*.otf" )
|
exclude( "**/*.ttf", "**/*.otf" )
|
||||||
}
|
}
|
||||||
@@ -54,6 +50,10 @@ tasks {
|
|||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
testLogging.exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
|
testLogging.exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
publish {
|
||||||
|
onlyIf { !rootProject.hasProperty( "skipFonts" ) }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
flatlafPublish {
|
flatlafPublish {
|
||||||
|
|||||||
@@ -42,10 +42,6 @@ java {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
all {
|
|
||||||
onlyIf { !rootProject.hasProperty( "skipFonts" ) }
|
|
||||||
}
|
|
||||||
|
|
||||||
named<Jar>( "sourcesJar" ) {
|
named<Jar>( "sourcesJar" ) {
|
||||||
exclude( "**/*.ttf", "**/*.otf" )
|
exclude( "**/*.ttf", "**/*.otf" )
|
||||||
}
|
}
|
||||||
@@ -54,6 +50,10 @@ tasks {
|
|||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
testLogging.exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
|
testLogging.exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
publish {
|
||||||
|
onlyIf { !rootProject.hasProperty( "skipFonts" ) }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
flatlafPublish {
|
flatlafPublish {
|
||||||
|
|||||||
Reference in New Issue
Block a user