0.4.1: Fix the build definition.
This commit is contained in:
parent
e2ce49aee7
commit
89bc3103c2
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 / 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" ) */
|
||||
|
||||
resolvers += Resolver.mavenLocal
|
||||
externalResolvers := Seq(
|
||||
"Garrity Software Releases" at
|
||||
"https://maven.garrity.co/gs",
|
||||
"Garrity Software Maven Mirror" at
|
||||
"https://maven.garrity.co/releases"
|
||||
)
|
||||
|
||||
val ProjectName: String = "sbt-gs-semver"
|
||||
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 =
|
||||
!CurrentVersion.contains("SNAPSHOT")
|
||||
|
|
@ -23,18 +24,18 @@ lazy val publishSettings = Seq(
|
|||
pomIncludeRepository := Function.const(false),
|
||||
scmInfo := Some(
|
||||
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"
|
||||
)
|
||||
),
|
||||
description := Description,
|
||||
licenses := List(
|
||||
"MIT" -> url(
|
||||
"MIT" -> uri(
|
||||
s"https://git.garrity.co/garrity-software/$ProjectName/LICENSE"
|
||||
)
|
||||
),
|
||||
homepage := Some(
|
||||
url(s"https://git.garrity.co/garrity-software/$ProjectName")
|
||||
uri(s"https://git.garrity.co/garrity-software/$ProjectName")
|
||||
),
|
||||
publishTo := {
|
||||
val repo = "https://maven.garrity.co/"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue