Base SBT plugin for Garrity Software projects.
|
|
||
|---|---|---|
| project | ||
| src/main/scala/gs | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| .scalafmt.conf | ||
| build.sbt | ||
| LICENSE | ||
| README.md | ||
sbt-garrity-software
General SBT plugin for Garrity Software projects. This plugin should not be used for non-GS projects.
Important
As of version 0.8.0, this plugin is only compatible with SBT 2.0.0+
Usage
File: project/plugins.sbt
resolvers += "Garrity Software Releases" at "https://maven.garrity.co/gs"
addSbtPlugin("gs" % "sbt-garrity-software" % "0.8.0")
File: build.sbt
ThisBuild / gsProjectName := "project-name"
Publishing
First, update the CurrentVersion value.
sbt publish
Then:
git tag $CURRENT_VERSION
git push origin $CURRENT_VERSION