Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.59 KB

README.md

File metadata and controls

52 lines (37 loc) · 1.59 KB

README

The haystack-java library provides a java implementation of the haystack data model. It also includes a haystack 3.0 compliant client, and reference server.

Building

The project is built with Gradle. It makes uses of the gradle wrapper so that you don't have to actually install Gradle yourself. You should use the gradlew script to run all gradle tasks for this project.

After cloning the repository, run the following command to build and test the library.

./gradlew build (Unix)

./gradlew.bat build (Windows)

It is highly recommended to enable the gradle daemon so builds go faster.

Gradle Dependency

If you have Gradle-based java projects that depend on this library, you can configure your build scripts to get the artifact from GitHub using https://jitpack.io

repositories {
    mavenCentral()
    maven { url = 'https://jitpack.io' }
}

dependencies {
    implementation 'com.github.skyfoundry:haystack-java:3.0.7'
}

Maven Dependency

If you have Maven-based java projects that depend on this library, you can configure your build scripts to get the artifact from GitHub using https://jitpack.io

<repositories>
    <repository>
        <id>jitpack.io</id>
        <name>JitPack</name>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

<dependency>
  <groupId>com.github.skyfoundry</groupId>
  <artifactId>haystack-java</artifactId>
  <version>3.0.7</version>
</dependency>