-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpublish.sbt
More file actions
24 lines (23 loc) · 1.28 KB
/
Copy pathpublish.sbt
File metadata and controls
24 lines (23 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Mandatory Publish Settings
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
ThisBuild / organization := "com.github.tharwaninitin"
ThisBuild / versionScheme := Some("semver-spec")
ThisBuild / versionPolicyIntention := Compatibility.BinaryAndSourceCompatible
// Optional Publish Settings
ThisBuild / organizationName := "github"
ThisBuild / organizationHomepage := Some(url(s"https://github.com/tharwaninitin/${name.value}"))
ThisBuild / homepage := Some(url(s"https://github.com/tharwaninitin/${name.value}"))
ThisBuild / scmInfo := Some(
ScmInfo(url(s"https://github.com/tharwaninitin/${name.value}"), s"scm:git@github.com:tharwaninitin/${name.value}.git")
)
ThisBuild / developers := List(
Developer("tharwaninitin", "Nitin Tharwani", "tharwaninitin182@gmail.com", url("https://github.com/tharwaninitin"))
)
ThisBuild / description := "Functional library in Scala for writing workflows"
ThisBuild / licenses := List("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))