Back to Goose

Goose SDK Maven package

crates/goose-sdk/maven/README.md

1.44.0977 B
Original Source

Goose SDK Maven package

This project packages the UniFFI-generated Kotlin/JVM bindings for goose-sdk as the Maven artifact io.github.aaif-goose:gdk.

The artifact version is read from crates/goose-sdk/Cargo.toml, so it stays in lockstep with the Rust crate version. The jar includes the generated Kotlin API and native libraries under JNA platform resource directories.

Build locally from the repository root:

bash
just --justfile crates/goose-sdk/justfile maven-package

Publish to Maven Central from the repository root:

bash
just --justfile crates/goose-sdk/justfile maven-publish

Publishing requires the standard Gradle properties used by com.vanniktech.maven.publish for Maven Central credentials and in-memory PGP signing, for example via environment variables:

  • ORG_GRADLE_PROJECT_mavenCentralUsername
  • ORG_GRADLE_PROJECT_mavenCentralPassword
  • ORG_GRADLE_PROJECT_signingInMemoryKey
  • ORG_GRADLE_PROJECT_signingInMemoryKeyPassword