-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathbuild.sbt
53 lines (41 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
46
47
48
49
50
51
52
53
organization := "com.github.krasserm"
name := "akka-persistence-cassandra"
version := "0.7-SNAPSHOT"
scalaVersion := "2.11.7"
fork in Test := true
javaOptions in Test += "-Xmx2500M"
scalacOptions ++= Seq(
"-encoding", "UTF-8",
"-feature",
"-unchecked",
"-deprecation",
//"-Xfatal-warnings",
"-Xlint",
"-Yno-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
"-Xfuture"
)
parallelExecution in Test := false
val AkkaVersion = "2.4.1"
libraryDependencies ++= Seq(
"com.datastax.cassandra" % "cassandra-driver-core" % "2.1.5",
"com.typesafe.akka" %% "akka-persistence" % AkkaVersion,
"com.typesafe.akka" %% "akka-persistence-tck" % AkkaVersion % "test",
"org.scalatest" %% "scalatest" % "2.1.4" % "test",
"org.cassandraunit" % "cassandra-unit" % "2.1.9.2" % "test"
)
credentials += Credentials(
"Artifactory Realm",
"oss.jfrog.org",
sys.env.getOrElse("OSS_JFROG_USER", ""),
sys.env.getOrElse("OSS_JFROG_PASS", "")
)
publishTo := {
val jfrog = "https://oss.jfrog.org/artifactory/"
if (isSnapshot.value)
Some("OJO Snapshots" at jfrog + "oss-snapshot-local")
else
Some("OJO Releases" at jfrog + "oss-release-local")
}
publishMavenStyle := true