Provides a Gradle Version Catalog and Platform (BOM) for using Sava libraries.
pluginManagement {
repositories {
gradlePluginPortal()
maven {
name = "savaGithubPackages"
url = uri("https://maven.pkg.github.com/sava-software/sava-build")
credentials(PasswordCredentials::class)
}
}
}
Generate a classic token with the read:packages
scope needed to access
dependencies hosted on GitHub Package Repository.
Add the following properties to $HOME/.gradle/gradle.properties
.
savaGithubPackagesUsername=GITHUB_USERNAME
savaGithubPackagesPassword=GITHUB_TOKEN
plugins {
id("org.gradlex.jvm-dependency-conflict-resolution")
}
jvmDependencyConflicts {
consistentResolution {
platform("software.sava:solana-version-catalog:${solanaBOMVersion}")
}
}