-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpublish.sbt
More file actions
37 lines (34 loc) · 1.36 KB
/
publish.sbt
File metadata and controls
37 lines (34 loc) · 1.36 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
25
26
27
28
29
30
31
32
33
34
35
36
37
ThisBuild / organization := "de.halcony"
ThisBuild / organizationName := "halcony"
ThisBuild / organizationHomepage := Some(url("https://github.com/simkoc/"))
// this is required for sonatype sync requirements
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/simkoc/scala-argparse"),
"scm:[email protected]:simkoc/scala-argparse.git"
)
)
// this is required for sonatype sync requirements
ThisBuild / developers := List(
Developer(
id = "simkoc",
name = "Simon Koch",
email = "[email protected]",
url = url("https://github.com/simkoc/")
)
)
ThisBuild / description := "A simple action based command line argument parser for scala"
// this is required for sonatype sync requirements
ThisBuild / licenses := List("MIT" -> url("https://opensource.org/license/mit"))
// this is required for sonatype sync requirements
ThisBuild / homepage := Some(url("https://github.com/simkoc/scala-argparse"))
ThisBuild / versionScheme := Some("semver-spec")
// Remove all additional repository other than Maven Central from POM
ThisBuild / pomIncludeRepository := { _ => false }
ThisBuild / publishMavenStyle := true
// new setting for the Central Portal
ThisBuild / publishTo := {
val centralSnapshots = "https://central.sonatype.com/repository/maven-snapshots/"
if (isSnapshot.value) Some("central-snapshots" at centralSnapshots)
else localStaging.value
}