-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
49 lines (42 loc) · 1.62 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
46
47
48
49
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "2.13.10"
ThisBuild / organization := "io.github.mattlianje"
ThisBuild / organizationName := "mattlianje"
ThisBuild / organizationHomepage := Some(url("https://github.com/mattlianje/flowers"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/mattlianje/flowers"),
"scm:git@github.com:mattlianje/flowers.git"
)
)
ThisBuild / developers := List(
Developer(
id = "mattlianje",
name = "Matthieu Court",
email = "matthieu.court@protonmail.com",
url = url("https://github.com/mattlianje")
)
)
ThisBuild / description := "Sz-40/42 Lorenz Machine for your Scala apps"
ThisBuild / licenses := List("GNU GPL v3" -> new URL("https://www.gnu.org/licenses/gpl-3.0.en.html"))
ThisBuild / homepage := Some(url("https://github.com/mattlianje/flowers"))
// 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
ThisBuild / versionScheme := Some("early-semver")
lazy val root = (project in file("."))
.settings(
name := "flowers",
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % "2.0.13",
"dev.zio" %% "zio-streams" % "2.0.13",
"dev.zio" %% "zio-test" % "2.0.13" % Test,
"dev.zio" %% "zio-test-sbt" % "2.0.13" % Test,
"org.scalatest" %% "scalatest" % "3.2.15" % Test
)
)