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:
Karl Tauber
2022-11-19 12:01:14 +01:00
parent 1762e0b7a6
commit 13e5da584f
2 changed files with 8 additions and 8 deletions

View File

@@ -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 {

View File

@@ -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 {