forked from zivver/web-push
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
47 lines (38 loc) · 1.39 KB
/
build.sbt
File metadata and controls
47 lines (38 loc) · 1.39 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
38
39
40
41
42
43
44
45
46
47
name := "web-push"
organization := "com.talenteca"
version := "1.0.0"
scalaVersion := "2.13.6"
crossScalaVersions := Seq("2.12.12")
libraryDependencies ++= Seq(
"com.pauldijou" %% "jwt-core" % "5.0.0",
"org.apache.httpcomponents" % "fluent-hc" % "4.5.13",
"org.bouncycastle" % "bcprov-jdk15on" % "1.69"
)
ThisBuild / organization := "com.talenteca"
ThisBuild / organizationName := "Talenteca"
ThisBuild / organizationHomepage := Some(url("https://www.talenteca.com/"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/talenteca/web-push"),
"scm:git@github.com:talenteca/web-push.git"
)
)
ThisBuild / developers := List(
Developer(
id = "csaltos",
name = "Carlos Saltos",
email = "csaltos@talenteca.io",
url = url("https://csaltos.com/")
)
)
ThisBuild / description := "Scala library for easy Web Push message sending."
ThisBuild / licenses := List("MIT" -> new URL("https://mit-license.org/"))
ThisBuild / homepage := Some(url("https://github.com/talenteca/web-push"))
// 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