diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index 1d092a4..f73ffac 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -26,8 +26,11 @@ jobs: with: release_notes_file: RELEASE_NOTES.md - - name: Build | Package - run: mvn -B clean install --file pom.xml + - name: Build | Package styles + run: mvn clean install -B --file styles/pom.xml + + - name: Build | Package other modules + run: mvn clean install -B -pl '!styles' --file pom.xml - name: Build | List artifacts (Unix) shell: sh diff --git a/README.md b/README.md index fb9c518..bb40b95 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,35 @@ JavaFX CSS theme collection plus additional controls. It's inspired by [FlatLaf] **Requirements:** JavaFX 17+ (because of `data-url` support). -TODO (after publishing on Maven Central) +For now, project is in early development stage. You should add OSSRH snapshot repository to use it. + +```xml + + ossrh.snapshots + OSSRH snapshots + https://s01.oss.sonatype.org/content/repositories/snapshots/ + + false + + + true + + + + + io.github.mkpaz + atlantafx-base + 0.1.0-SNAPSHOT + +``` + +Set CSS theme: + +```java +Application.setUserAgentStylesheet(new PrimerLight().getUserAgentStylesheet()); +// or +Application.setUserAgentStylesheet(new PrimerDark().getUserAgentStylesheet()); +``` ## Introduction diff --git a/base/pom.xml b/base/pom.xml index d113a98..b828876 100755 --- a/base/pom.xml +++ b/base/pom.xml @@ -6,15 +6,11 @@ io.github.mkpaz atlantafx-parent - 0.1.0 + 0.1.0-SNAPSHOT atlantafx-base - - ${project.groupId} - atlantafx-styles - org.openjfx javafx-controls diff --git a/pom.xml b/pom.xml index e0ef91d..37b472d 100755 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ io.github.mkpaz atlantafx-parent pom - 0.1.0 + 0.1.0-SNAPSHOT AtlantaFX JavaFX CSS theme collection plus additional controls @@ -63,7 +63,9 @@ v16.14.2 AtlantaFX - ${project.version} + + 0.1.0 3.12.0 11.5.1 @@ -304,7 +306,7 @@ - sonatype + release false diff --git a/sampler/pom.xml b/sampler/pom.xml index b902dfd..c13495c 100755 --- a/sampler/pom.xml +++ b/sampler/pom.xml @@ -6,7 +6,7 @@ io.github.mkpaz atlantafx-parent - 0.1.0 + 0.1.0-SNAPSHOT atlantafx-sampler diff --git a/styles/pom.xml b/styles/pom.xml index eb94f16..1c65c41 100755 --- a/styles/pom.xml +++ b/styles/pom.xml @@ -6,7 +6,7 @@ io.github.mkpaz atlantafx-parent - 0.1.0 + 0.1.0-SNAPSHOT atlantafx-styles