Release 0.1.0-SNAPSHOT

This commit is contained in:
mkpaz 2022-07-24 19:38:56 +04:00
parent 5169b3de7b
commit 62f94c6a2c
6 changed files with 42 additions and 13 deletions

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

@ -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
<repository>
<id>ossrh.snapshots</id>
<name>OSSRH snapshots</name>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<dependency>
<groupId>io.github.mkpaz</groupId>
<artifactId>atlantafx-base</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>
```
Set CSS theme:
```java
Application.setUserAgentStylesheet(new PrimerLight().getUserAgentStylesheet());
// or
Application.setUserAgentStylesheet(new PrimerDark().getUserAgentStylesheet());
```
## Introduction

@ -6,15 +6,11 @@
<parent>
<groupId>io.github.mkpaz</groupId>
<artifactId>atlantafx-parent</artifactId>
<version>0.1.0</version>
<version>0.1.0-SNAPSHOT</version>
</parent>
<artifactId>atlantafx-base</artifactId>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>atlantafx-styles</artifactId>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>

@ -7,7 +7,7 @@
<groupId>io.github.mkpaz</groupId>
<artifactId>atlantafx-parent</artifactId>
<packaging>pom</packaging>
<version>0.1.0</version>
<version>0.1.0-SNAPSHOT</version>
<name>AtlantaFX</name>
<description>JavaFX CSS theme collection plus additional controls</description>
@ -63,7 +63,9 @@
<nodejs.version>v16.14.2</nodejs.version>
<app.name>AtlantaFX</app.name>
<app.version>${project.version}</app.version>
<!-- DO NOT use ${project.version} as jpackage will fail on
Windows when using '-SNAPSHOT' suffix -->
<app.version>0.1.0</app.version>
<lib.commons-lang.version>3.12.0</lib.commons-lang.version>
<lib.cssfx.version>11.5.1</lib.cssfx.version>
@ -304,7 +306,7 @@
</properties>
</profile>
<profile>
<id>sonatype</id>
<id>release</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>

@ -6,7 +6,7 @@
<parent>
<groupId>io.github.mkpaz</groupId>
<artifactId>atlantafx-parent</artifactId>
<version>0.1.0</version>
<version>0.1.0-SNAPSHOT</version>
</parent>
<artifactId>atlantafx-sampler</artifactId>

@ -6,7 +6,7 @@
<parent>
<groupId>io.github.mkpaz</groupId>
<artifactId>atlantafx-parent</artifactId>
<version>0.1.0</version>
<version>0.1.0-SNAPSHOT</version>
</parent>
<artifactId>atlantafx-styles</artifactId>