forked from sparklingpandas/sparklingpandas
-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sbt
73 lines (55 loc) · 2.34 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
organization := "com.sparklingpandas"
name := "sparklingpandas"
publishMavenStyle := true
version := "0.0.4-SNAPSHOT"
scalaVersion := "2.10.4"
crossScalaVersions := Seq("2.10.4", "2.11.6")
javacOptions ++= Seq("-source", "1.7", "-target", "1.7")
spName := "sparklingpandas/sparklingpandas"
sparkVersion := "1.3.1"
sparkComponents ++= Seq("core", "sql", "hive")
// additional libraries
libraryDependencies ++= Seq("org.scalatest" %% "scalatest" % "2.2.1" % "test",
"io.github.nicolasstucki" % "multisets_2.10" % "0.1",
"org.apache.commons" % "commons-math3" % "3.5")
scalacOptions ++= Seq("-deprecation", "-unchecked")
pomIncludeRepository := { x => false }
resolvers ++= Seq(
"JBoss Repository" at "http://repository.jboss.org/nexus/content/repositories/releases/",
"Spray Repository" at "http://repo.spray.cc/",
"Cloudera Repository" at "https://repository.cloudera.com/artifactory/cloudera-repos/",
"Akka Repository" at "http://repo.akka.io/releases/",
"Twitter4J Repository" at "http://twitter4j.org/maven2/",
"Apache HBase" at "https://repository.apache.org/content/repositories/releases",
"Twitter Maven Repo" at "http://maven.twttr.com/",
"scala-tools" at "https://oss.sonatype.org/content/groups/scala-tools",
"Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/",
"Second Typesafe repo" at "http://repo.typesafe.com/typesafe/maven-releases/",
"Mesosphere Public Repository" at "http://downloads.mesosphere.io/maven",
Resolver.sonatypeRepo("public")
)
// publish settings
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("Apache License 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html"))
homepage := Some(url("https://github.com/sparklingpandas/sparklingpandas"))
pomExtra := (
<scm>
<url>[email protected]:sparklingpandas/sparklingpandas.git</url>
<connection>scm:[email protected]:sparklingpandas/sparklingpandas.git</connection>
</scm>
<developers>
<developer>
<id>holdenk</id>
<name>Holden Karau</name>
<url>http://www.holdenkarau.com</url>
<email>[email protected]</email>
</developer>
</developers>
)
credentials += Credentials(Path.userHome / ".ivy2" / ".sbtcredentials")