Skip to content

sava-software/solana-version-catalog

Repository files navigation

Sava Version Catalog Publish Release

Provides a Gradle Version Catalog and Platform (BOM) for using Sava libraries.

Gradle Configuration

settings.gradle.kts

pluginManagement {
  repositories {
    gradlePluginPortal()
    maven {
      name = "savaGithubPackages"
      url = uri("https://maven.pkg.github.com/sava-software/sava-build")
      credentials(PasswordCredentials::class)
    }
  }
}

gradle.properties

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

build.gradle.kts

plugins {
  id("org.gradlex.jvm-dependency-conflict-resolution")
}

jvmDependencyConflicts {
  consistentResolution {
    platform("software.sava:solana-version-catalog:${solanaBOMVersion}")
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •