Skip to content

Getting Started

Installation

Maven Central

Gradle

To use Harbringer in your project, you'll need to add a dependency on the library.

dependencies {
    implementation("se.ansman.harbringer:harbringer:0.1.0")
    // If you're using a supported HTTP client, then depend on the appropriate module
    implementation("se.ansman.harbringer:harbringer-okhttp3:0.1.0")
}

Snapshots

Snapshots are published on every commit to Sonatype's snapshot repository. To use a snapshot, add the snapshot repository:

buildscripts {
    repositories {
        ...
        maven("https://central.sonatype.com/repository/maven-snapshots/")
    }
}

dependencies {
    implementation("se.ansman.harbringer:harbringer:0.2.0-SNAPSHOT")
}