-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
48 lines (35 loc) · 1.36 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
name := "volleynator-entities"
version := "0.6.1-SNAPSHOT"
organization := "com.github.eddykaya"
scalaVersion := "2.12.3"
publishMavenStyle := true
pomIncludeRepository := { _ => false }
isSnapshot := version.value endsWith "SNAPSHOT"
libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.1"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test"
libraryDependencies += "com.typesafe.akka" %% "akka-persistence" % "2.5.6"
credentials += Credentials("Sonatype Nexus Repository Manager",
"oss.sonatype.org",
System.getenv().get("SONATYPE_USERNAME"),
System.getenv().get("SONATYPE_PASSWORD"))
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")
}
licenses := Seq("MIT" -> url("https://opensource.org/licenses/MIT"))
homepage := Some(url("https://github.com/eddykaya/volleynator-entities"))
scmInfo := Some(
ScmInfo(
url("https://github.com/eddykaya/volleynator-entities.git"),
"scm:[email protected]:eddykaya/volleynator-entities.git"
))
developers := List(
Developer(
id="eddykaya99",
name="Eddykaya",
email="[email protected]",
url=url("https://www.volleynator.de")
))