This repository has been archived by the owner on Jul 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.sbt
39 lines (31 loc) · 1.57 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
/**
* (C) Copyright IBM Corp. 2016
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
name := "spark-db2"
version := "1.0"
scalaVersion := "2.10.5"
resolvers += "Typesafe Repo" at "http://repo.typesafe.com/typesafe/releases/"
resolvers += "Sonatype Repository" at "http://oss.sonatype.org/content/repositories/releases"
// Spark dependencies as provided as they are available in spark runtime
val sparkDependency = "1.6.0"
val commonsCSV = "1.2"
libraryDependencies += "org.apache.spark" %% "spark-core" % sparkDependency % "provided"
libraryDependencies += "org.apache.spark" %% "spark-streaming" % sparkDependency % "provided"
libraryDependencies += "org.apache.spark" %% "spark-sql" % sparkDependency % "provided"
libraryDependencies += "org.apache.spark" %% "spark-repl" % sparkDependency % "provided"
libraryDependencies += "org.apache.spark" %% "spark-hive" % sparkDependency % "provided"
libraryDependencies += "org.apache.commons" % "commons-csv" % commonsCSV
assemblyJarName in assembly := "spark-db2.jar"