parent
e2ce49aee7
commit
a3b9b67f28
1 changed files with 10 additions and 9 deletions
19
build.sbt
19
build.sbt
|
|
@ -3,16 +3,17 @@ ThisBuild / organizationName := "garrity software"
|
||||||
ThisBuild / organization := "gs"
|
ThisBuild / organization := "gs"
|
||||||
ThisBuild / versionScheme := Some("semver-spec")
|
ThisBuild / versionScheme := Some("semver-spec")
|
||||||
|
|
||||||
/* externalResolvers := Seq( "Garrity Software Releases" at
|
externalResolvers := Seq(
|
||||||
* "https://maven.garrity.co/gs", "Garrity Software Maven Mirror" at
|
"Garrity Software Releases" at
|
||||||
* "https://maven.garrity.co/releases" ) */
|
"https://maven.garrity.co/gs",
|
||||||
|
"Garrity Software Maven Mirror" at
|
||||||
resolvers += Resolver.mavenLocal
|
"https://maven.garrity.co/releases"
|
||||||
|
)
|
||||||
|
|
||||||
val ProjectName: String = "sbt-gs-semver"
|
val ProjectName: String = "sbt-gs-semver"
|
||||||
val Description: String = "SBT 2.0.0+ plugin for Git-based semantic versioning."
|
val Description: String = "SBT 2.0.0+ plugin for Git-based semantic versioning."
|
||||||
|
|
||||||
val CurrentVersion: String = "0.4.0"
|
val CurrentVersion: String = "0.4.1"
|
||||||
|
|
||||||
def isRelease(): Boolean =
|
def isRelease(): Boolean =
|
||||||
!CurrentVersion.contains("SNAPSHOT")
|
!CurrentVersion.contains("SNAPSHOT")
|
||||||
|
|
@ -23,18 +24,18 @@ lazy val publishSettings = Seq(
|
||||||
pomIncludeRepository := Function.const(false),
|
pomIncludeRepository := Function.const(false),
|
||||||
scmInfo := Some(
|
scmInfo := Some(
|
||||||
ScmInfo(
|
ScmInfo(
|
||||||
url(s"https://git.garrity.co/garrity-software/$ProjectName"),
|
uri(s"https://git.garrity.co/garrity-software/$ProjectName"),
|
||||||
s"git@git.garrity.co:garrity-software/$ProjectName.git"
|
s"git@git.garrity.co:garrity-software/$ProjectName.git"
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
description := Description,
|
description := Description,
|
||||||
licenses := List(
|
licenses := List(
|
||||||
"MIT" -> url(
|
"MIT" -> uri(
|
||||||
s"https://git.garrity.co/garrity-software/$ProjectName/LICENSE"
|
s"https://git.garrity.co/garrity-software/$ProjectName/LICENSE"
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
homepage := Some(
|
homepage := Some(
|
||||||
url(s"https://git.garrity.co/garrity-software/$ProjectName")
|
uri(s"https://git.garrity.co/garrity-software/$ProjectName")
|
||||||
),
|
),
|
||||||
publishTo := {
|
publishTo := {
|
||||||
val repo = "https://maven.garrity.co/"
|
val repo = "https://maven.garrity.co/"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue