forked from scopt/scopt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish.sbt
25 lines (20 loc) · 923 Bytes
/
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
ThisBuild / organization := "com.github.scopt"
ThisBuild / organizationName := "com.github.scopt"
ThisBuild / description := "a command line options parsing library"
ThisBuild / licenses := List("MIT" -> url("http://www.opensource.org/licenses/mit-license.php"))
val repo = "https://github.com/scopt/scopt"
ThisBuild / scmInfo := Option(ScmInfo(url(repo), s"$repo.git"))
ThisBuild / organizationHomepage := Option(url(repo))
ThisBuild / homepage := Option(url(repo))
ThisBuild / developers ++= List(
Developer("eed3si9n", "Eugene Yokota", "@eed3si9n", url("https://github.com/eed3si9n")),
)
ThisBuild / publishMavenStyle := true
ThisBuild / pomIncludeRepository := { x =>
false
}
ThisBuild / publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) Option("snapshots" at nexus + "content/repositories/snapshots")
else Option("releases" at nexus + "service/local/staging/deploy/maven2")
}