mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-27 03:46:17 -06:00
Fonts: fixed GitHub Actions:
- ci.yml: skip fonts in snapshot and release jobs - fonts.yml: build on all branches/PRs; publish snapshots - fixed version for font snapshots
This commit is contained in:
@@ -20,6 +20,10 @@
|
||||
// necessary, but the <font-version> has not changed.
|
||||
version = "3.19"
|
||||
|
||||
if( !rootProject.hasProperty( "release" ) )
|
||||
version = version.toString() + "-SNAPSHOT"
|
||||
|
||||
|
||||
plugins {
|
||||
`java-library`
|
||||
`flatlaf-module-info`
|
||||
@@ -38,6 +42,10 @@ java {
|
||||
}
|
||||
|
||||
tasks {
|
||||
all {
|
||||
onlyIf { !rootProject.hasProperty( "skipFonts" ) }
|
||||
}
|
||||
|
||||
named<Jar>( "sourcesJar" ) {
|
||||
exclude( "**/*.ttf", "**/*.otf" )
|
||||
}
|
||||
|
||||
@@ -20,6 +20,10 @@
|
||||
// necessary, but the <font-version> has not changed.
|
||||
version = "2.242"
|
||||
|
||||
if( !rootProject.hasProperty( "release" ) )
|
||||
version = version.toString() + "-SNAPSHOT"
|
||||
|
||||
|
||||
plugins {
|
||||
`java-library`
|
||||
`flatlaf-module-info`
|
||||
@@ -38,6 +42,10 @@ java {
|
||||
}
|
||||
|
||||
tasks {
|
||||
all {
|
||||
onlyIf { !rootProject.hasProperty( "skipFonts" ) }
|
||||
}
|
||||
|
||||
named<Jar>( "sourcesJar" ) {
|
||||
exclude( "**/*.ttf", "**/*.otf" )
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user