Maven and Javadocs

This page is for developers using the four fully patched StackAnvil projects. To install the client or proxy for play, use the player guide.

Add a dependency in Gradle

  1. Choose a version from StackAnvil releases. Remove stack-v from the tag to get the Maven version.
  2. Add the StackAnvil Maven URL to your existing repositories.
  3. Add the artifact you need with that version.

For example, release stack-v0.2.2 provides ViaBedrock version 0.2.2:

repositories {
    maven("https://stackanvil-maven.pistonmaster.net/")
}

dependencies {
    implementation("io.github.stackanvil:viabedrock-stackanvil:0.2.2")
}

Keep the repositories required by the rest of your Gradle build. The StackAnvil Maven root explains the repository layout. ViaFabricPlus itself comes from upstream Maven; the StackAnvil Bedrock add-on has its own artifact below.

Artifact and API reference

Use the coordinates in the table with your chosen release version. Each Maven metadata link lists published versions. Each Javadocs link opens the API reference for the latest release.

Project Artifact ID Maven metadata Javadocs
ViaBedrock viabedrock-stackanvil Versions API reference
ViaFabricPlus Bedrock add-on viafabricplus-bedrock-stackanvil Versions API reference
CubeConverter cubeconverter-stackanvil Versions API reference
ViaProxy viaproxy-stackanvil Versions API reference

All four coordinates use the group ID io.github.stackanvil. The Javadocs index identifies the release currently documented. Its project paths update when a new release is published.