JSilhouette provides additional shapes for Java applications
Switch branches/tags
Clone or download

README.adoc

JSilhouette

Build Status (travis) ASL2 Licensed download jsilhouette javafx donations Patreon orange


JSilhouette provides additional shapes for Java applications. Currently JavaFX is supported.

Installing

You can get the latest version of JSilhouette directly from Bintray’s JCenter repository or Maven Central.

gradle
repositories {
    jcenter()
}

dependencies {
    compile 'org.kordamp.jsilhouette:jsilhouette-javafx:0.3.0'
}
maven
<dependencies>
    <dependency>
        <groupId>org.kordamp.jsilhouette</groupId>
        <artifactId>jsilhouette-javafx</artifactId>
        <version>0.3.0</version>
    </dependency>
</dependencies>

<repositories>
    <repository>
        <id>central</id>
        <name>jcenter</name>
        <url>http://jcenter.bintray.com</url>
    </repository>
</repositories>

Refer to the guide for further information on configuration and usage.

Java 9+

JSilhouette can be used in a modular fashion when running in Java9+. It’s module name is org.kordamp.jsilhouette.javafx.

Building

You must meet the following requirements:

  • JDK8u60 as a minimum

  • Gradle 4.10

You may used the included gradle wrapper script if you don’t have gradle installed.

Installing Gradle

Manual
  1. Download Gradle from http://gradle.org/downloads

  2. Unzip the file into a directory without spaces (recommended).

  3. Create a GRADLE_HOME environment variable that points to this directory.

  4. Adjust your PATH environment variable to include $GRADLE_HOME/bin (%GRADLE_HOME%\bin on Windows).

  5. Test your setup by invoking gradle --version.

SDKMAN
  1. Follow the instructions found at http://sdkman.io/ to install SDKMAN.

  2. You need a POSIX environment if running Windows. We recommend using Babun Shell (http://babun.github.io/)

  3. Once SDKMAN is installed invoke sdk install gradle 4.10.

  4. Test your setup by invoking gradle --version.

Gdub

GDub is a wrapper script that facilitates invoking gradle tasks anywhere within a Gradle project. It’s smart enough to use the gradle wrapper if available or your global gradle command. This is an optional download.

  1. Follow the instructions found at https://github.com/dougborg/gdub to install gdub

Next Steps

Make a full build issuing gradle build.