> ## Documentation Index
> Fetch the complete documentation index at: https://sava.software/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Add Sava to your Gradle or Maven build.

## Build Configuration

> [!NOTE]
>
> Sava targets Java 25. Ensure you have a compatible JDK installed before adding Sava to your build.

Use the same Sava version for `sava-core` and `sava-rpc`; replace `VERSION` below
with the published version you are using.

> [tab] Gradle
>
> ```kotlin build.gradle.kts theme={null}
> dependencies {
>   implementation("software.sava:sava-core:$VERSION")
>   implementation("software.sava:sava-rpc:$VERSION")
> }
> ```
>
> ```groovy build.gradle theme={null}
> dependencies {
>   implementation "software.sava:sava-core:$VERSION"
>   implementation "software.sava:sava-rpc:$VERSION"
> }
> ```

> [tab] Maven
>
> ```xml pom.xml theme={null}
> <dependencies>
>     <dependency>
>         <groupId>software.sava</groupId>
>         <artifactId>sava-core</artifactId>
>         <version>VERSION</version>
>     </dependency>
>     <dependency>
>         <groupId>software.sava</groupId>
>         <artifactId>sava-rpc</artifactId>
>         <version>VERSION</version>
>     </dependency>
> </dependencies>
> ```

> [!TIP]
>
> A [Gradle Version Catalog and Platform (BOM)](https://github.com/sava-software/solana-version-catalog) is provided for each target version of Java.

> [!TIP]
>
> Signed libraries are published to both [Maven Central](https://central.sonatype.com/search?namespace=software.sava) and the GitHub Package Repository.

### GitHub Packages

Every release is also published to the GitHub Package Repository, and
[idl-clients](https://sava.software/libraries/idl-clients.md) is published there only. Resolving from it
needs a GitHub token with the `read:packages` scope.

> [tab] Gradle
>
> ```kotlin settings.gradle.kts theme={null}
> dependencyResolutionManagement {
>   repositories {
>     mavenCentral()
>     maven {
>       url = uri("https://maven.pkg.github.com/sava-software/idl-clients")
>       credentials {
>         username = providers.gradleProperty("gpr.user").get()
>         password = providers.gradleProperty("gpr.token").get()
>       }
>     }
>   }
> }
> ```
>
> Keep `gpr.user` and `gpr.token` in `~/.gradle/gradle.properties`, out of the project.

> [tab] Maven
>
> ```xml pom.xml theme={null}
> <repositories>
>   <repository>
>     <id>sava-github</id>
>     <url>https://maven.pkg.github.com/sava-software/idl-clients</url>
>   </repository>
> </repositories>
> ```
>
> ```xml settings.xml theme={null}
> <servers>
>   <server>
>     <id>sava-github</id>
>     <username>GITHUB_USERNAME</username>
>     <password>GITHUB_TOKEN</password>
>   </server>
> </servers>
> ```

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.