forked from zivver/web-push
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
54 lines (45 loc) · 1.78 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
50
51
52
53
54
name := "web-push"
scalaVersion := "2.13.3"
libraryDependencies ++= {
val akkaV = "2.6.10"
val akkaHttpV = "10.2.1"
Seq(
"com.pauldijou" %% "jwt-core" % "4.3.0",
"org.apache.httpcomponents" % "fluent-hc" % "4.5.13",
"org.bouncycastle" % "bcprov-jdk15on" % "1.67",
"com.typesafe.akka" %% "akka-actor" % akkaV,
"com.typesafe.akka" %% "akka-stream" % akkaV,
"com.typesafe.akka" %% "akka-stream-testkit" % akkaV % Test,
"com.typesafe.akka" %% "akka-http" % akkaHttpV,
"com.typesafe.akka" %% "akka-http-testkit" % akkaHttpV % Test,
"org.scalatest" %% "scalatest" % "3.3.0-SNAP2" % Test,
"com.github.tomakehurst" % "wiremock" % "2.27.2" % Test,
)
}
addCommandAlias("check", "fmtCheck test")
addCommandAlias("fmtCheck", "all scalafmtSbtCheck scalafmtCheck test:scalafmtCheck")
addCommandAlias("fmt", "all scalafmtSbt scalafmt test:scalafmt")
organization in ThisBuild := "com.wanari"
homepage := Some(url("https://github.com/TeamWanari/web-push"))
licenses := Seq("MIT" -> url("https://www.wanari.com/licenses/mit-license"))
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ =>
false
}
publishTo in ThisBuild := {
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")
}
scmInfo := Some(
ScmInfo(
url("https://github.com/TeamWanari/web-push"),
"scm:git:[email protected]:TeamWanari/web-push.git"
)
)
developers := List(
Developer("Csabi", "Csaba Pálfi", "[email protected]", url("https://www.wanari.com"))
)