-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpublish.sbt
34 lines (28 loc) · 1.15 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
32
33
34
ThisBuild / organization := "com.herminiogarcia"
ThisBuild / organizationName := "herminiogarcia"
ThisBuild / organizationHomepage := Some(url("https://herminiogarcia.com"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/herminiogg/ShExML"),
"scm:[email protected]:herminiogg/ShExML.git"
)
)
ThisBuild / developers := List(
Developer(
id = "herminiogg",
name = "Herminio Garcia Gonzalez",
email = "[email protected]",
url = url("https://herminiogarcia.com")
)
)
ThisBuild / description := "An heterogeneous data mapping language based on Shape Expressions."
ThisBuild / licenses := List("MIT License" -> new URL("https://opensource.org/licenses/MIT"))
ThisBuild / homepage := Some(url("http://shexml.herminiogarcia.com"))
// Remove all additional repository other than Maven Central from POM
ThisBuild / pomIncludeRepository := { _ => false }
ThisBuild / publishTo := {
val nexus = "https://s01.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