-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.sbt
58 lines (46 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
54
55
56
57
58
import sbt.Keys._
import sbt._
name := "typedudf"
organization := "com.github.lesbroot"
scalaVersion := "2.11.12"
val sparkVersion = "2.2.+"
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % sparkVersion % Provided,
"org.apache.spark" %% "spark-sql" % sparkVersion % Provided,
"com.chuusai" %% "shapeless" % "2.3.+",
"org.scalatest" %% "scalatest" % "[3, 3.1)" % Test
)
scalacOptions ++= Seq(
"-deprecation",
"-encoding", "UTF-8",
"-feature",
"-language:higherKinds",
"-unchecked",
"-Yno-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
"-Xfuture",
"-Xlint"
)
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("BSD-style" -> url("http://www.opensource.org/licenses/bsd-license.php"))
homepage := Some(url("https://github.com/lesbroot/typedudf"))
scmInfo := Some(
ScmInfo(
url("https://github.com/lesbroot/typedudf"),
"scm:[email protected]:lesbroot/typedudf.git"
)
)
developers := List(
Developer(
id = "lesbroot",
name = "Gabor Barna",
email = "[email protected]",
url = url("https://github.com/lesbroot")
)
)
publishMavenStyle := true