Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
| 7d8cc854cc |
2 changed files with 21 additions and 22 deletions
11
build.sbt
11
build.sbt
|
|
@ -11,7 +11,7 @@ externalResolvers := Seq(
|
||||||
val ProjectName: String = "sbt-garrity-software"
|
val ProjectName: String = "sbt-garrity-software"
|
||||||
val Description: String = "SBT 2.0.0+ plugin for Garrity Software projects."
|
val Description: String = "SBT 2.0.0+ plugin for Garrity Software projects."
|
||||||
|
|
||||||
val CurrentVersion: String = "0.8.0"
|
val CurrentVersion: String = "0.8.0-SNAPSHOT"
|
||||||
|
|
||||||
def isRelease(): Boolean =
|
def isRelease(): Boolean =
|
||||||
!CurrentVersion.contains("SNAPSHOT")
|
!CurrentVersion.contains("SNAPSHOT")
|
||||||
|
|
@ -28,9 +28,7 @@ lazy val publishSettings = Seq(
|
||||||
),
|
),
|
||||||
description := Description,
|
description := Description,
|
||||||
licenses := List(
|
licenses := List(
|
||||||
"MIT" -> uri(
|
"MIT" -> uri(s"https://git.garrity.co/garrity-software/$ProjectName/LICENSE")
|
||||||
s"https://git.garrity.co/garrity-software/$ProjectName/LICENSE"
|
|
||||||
)
|
|
||||||
),
|
),
|
||||||
homepage := Some(
|
homepage := Some(
|
||||||
uri(s"https://git.garrity.co/garrity-software/$ProjectName")
|
uri(s"https://git.garrity.co/garrity-software/$ProjectName")
|
||||||
|
|
@ -50,8 +48,9 @@ lazy val root = Project(ProjectName, file("."))
|
||||||
.settings(
|
.settings(
|
||||||
name := ProjectName,
|
name := ProjectName,
|
||||||
version := CurrentVersion,
|
version := CurrentVersion,
|
||||||
pluginCrossBuild / sbtVersion :=
|
pluginCrossBuild / sbtVersion := {
|
||||||
"2.0.0",
|
"2.0.0"
|
||||||
|
},
|
||||||
scalacOptions := Seq(
|
scalacOptions := Seq(
|
||||||
"-encoding",
|
"-encoding",
|
||||||
"utf8",
|
"utf8",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue