-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
45 lines (37 loc) · 1.3 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
scalaVersion := "2.13.3"
name := "soda"
ThisBuild / organization := "io.github.d-exclaimation"
ThisBuild / version := "0.5.0"
ThisBuild / organizationHomepage := Some(url("https://www.dexclaimation.com"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/d-exclaimation/soda"),
"scm:[email protected]/soda.git"
)
)
ThisBuild / developers := List(
Developer(
id = "d-exclaimation",
name = "Vincent",
email = "[email protected]",
url = url("https://www.dexclaimation.com")
)
)
ThisBuild / description := "Enchant your experience of GraphQL with some soda"
ThisBuild / licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
ThisBuild / homepage := Some(url("https://github.com/d-exclaimation/soda"))
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")
libraryDependencies ++= {
val sangriaVer = "2.1.5"
Seq(
"org.sangria-graphql" %% "sangria" % sangriaVer,
"org.scalatest" %% "scalatest" % "3.2.9" % Test,
)
}