Usage

gerb4j is published to GitHub Packages. You will need to configure your build tool to use the GitHub Packages Maven registry.

Note: GitHub Packages requires authentication even for public packages. You will need a personal access token with read:packages scope.

Maven

Add the repository to your pom.xml (or your ~/.m2/settings.xml):

<repositories>
  <repository>
    <id>github</id>
    <url>https://maven.pkg.github.com/bvarner/gerb4j</url>
  </repository>
</repositories>

Then add the dependency:

<dependency>
  <groupId>com.varnernet</groupId>
  <artifactId>gerb4j</artifactId>
  <version>0.0.1-SNAPSHOT</version>
</dependency>

Gradle

Add the repository to your build.gradle:

repositories {
    maven {
        url = uri("https://maven.pkg.github.com/bvarner/gerb4j")
        credentials {
            username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR")
            password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
        }
    }
}

Then add the dependency:

implementation 'com.varnernet:gerb4j:0.0.1-SNAPSHOT'