Compare commits

..

1 commit
main ... sbt2

Author SHA1 Message Date
3c7156a01b
Migrate the plugin to support SBT 2. 2026-07-20 21:32:20 -05:00

View file

@ -3,17 +3,16 @@ ThisBuild / organizationName := "garrity software"
ThisBuild / organization := "gs"
ThisBuild / versionScheme := Some("semver-spec")
externalResolvers := Seq(
"Garrity Software Releases" at
"https://maven.garrity.co/gs",
"Garrity Software Maven Mirror" at
"https://maven.garrity.co/releases"
)
/* externalResolvers := Seq( "Garrity Software Releases" at
* "https://maven.garrity.co/gs", "Garrity Software Maven Mirror" at
* "https://maven.garrity.co/releases" ) */
resolvers += Resolver.mavenLocal
val ProjectName: String = "sbt-gs-semver"
val Description: String = "SBT 2.0.0+ plugin for Git-based semantic versioning."
val CurrentVersion: String = "0.4.1"
val CurrentVersion: String = "0.4.0-SNAPSHOT"
def isRelease(): Boolean =
!CurrentVersion.contains("SNAPSHOT")
@ -24,18 +23,18 @@ lazy val publishSettings = Seq(
pomIncludeRepository := Function.const(false),
scmInfo := Some(
ScmInfo(
uri(s"https://git.garrity.co/garrity-software/$ProjectName"),
url(s"https://git.garrity.co/garrity-software/$ProjectName"),
s"git@git.garrity.co:garrity-software/$ProjectName.git"
)
),
description := Description,
licenses := List(
"MIT" -> uri(
"MIT" -> url(
s"https://git.garrity.co/garrity-software/$ProjectName/LICENSE"
)
),
homepage := Some(
uri(s"https://git.garrity.co/garrity-software/$ProjectName")
url(s"https://git.garrity.co/garrity-software/$ProjectName")
),
publishTo := {
val repo = "https://maven.garrity.co/"