-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpublish.sbt
31 lines (28 loc) · 1.2 KB
/
publish.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
ThisBuild / organization := "com.phasmidsoftware"
ThisBuild / organizationName := "Phasmid Software"
ThisBuild / organizationHomepage := Some(url("https://phasmidsoftware.com/"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/rchillyard/TableParser"),
"scm:[email protected]:rchillyard/TableParser.git"
)
)
ThisBuild / developers := List(
Developer(
id = "rchillyard",
name = "Robin Hillyard",
email = "[email protected]",
url = url("https://phasmidsoftware.com")
)
)
ThisBuild / description := "This project is a Scala library for facilitate comparisons in a functional style."
ThisBuild / licenses := List("Apache-2.0" -> new URL("https://www.apache.org/licenses/LICENSE-2.0.txt"))
ThisBuild / homepage := Some(url("https://github.com/rchillyard/TableParser"))
// Remove all additional repository other than Maven Central from POM
ThisBuild / pomIncludeRepository := { _ => false }
ThisBuild / publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
ThisBuild / publishMavenStyle := true