-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
45 lines (42 loc) · 1.34 KB
/
build.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
35
36
37
38
39
40
41
42
43
44
45
import Dependencies._
ThisBuild / scalaVersion := "2.13.16"
ThisBuild / version := "3.1.0"
ThisBuild / organization := "personnummer"
ThisBuild / organizationName := "personnummer"
lazy val root = (project in file("."))
.settings(
name := "Personnummer",
libraryDependencies += scalaTest % Test,
libraryDependencies ++= Seq(
"io.circe" %% "circe-core",
"io.circe" %% "circe-generic",
"io.circe" %% "circe-parser"
).map(_ % "0.13.0" % Test)
)
ThisBuild / description := "Validate Swedish personal identity numbers."
ThisBuild / licenses := List(
"MIT" -> new URL("https://opensource.org/licenses/MIT")
)
ThisBuild / homepage := Some(url("https://personnummer.dev"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/personnummer/scala"),
"scm:[email protected]:personnummer/scala.git"
)
)
ThisBuild / developers := List(
Developer(
id = "personnummer",
name = "Personnummer and Contributors",
email = "[email protected]",
url = url("http://personnummer.dev")
)
)
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