forked from RedisLabs/spark-redis
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
37 lines (22 loc) · 1.22 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
// Your sbt build file. Guides on how to write one can be found at
// http://www.scala-sbt.org/0.13/docs/index.html
scalaVersion := "2.11.11"
sparkVersion := "2.1.1"
spName := "RedisLabs/spark-redis"
description := "A library for reading and writing data from and to Redis with Apache Spark, for Spark SQL and DataFrames."
// Don't forget to set the version
version := "1.0.0"
homepage := Some(url("https://github.com/RedisLabs/spark-redis"))
// All Spark Packages need a license
licenses := Seq("BSD 3-Clause" -> url("http://opensource.org/licenses/BSD-3-Clause"))
organization := "com.redislabs"
organizationName := "Redis Labs, Inc."
organizationHomepage := Some(url("https://redislabs.com"))
// Add Spark components this package depends on, e.g, "mllib", ....
// sparkComponents ++= Seq("sql", "mllib")
libraryDependencies ++= Seq( "redis.clients" % "jedis" % "2.9.0")
// uncomment and change the value below to change the directory where your zip artifact will be created
// spDistDirectory := target.value
// add any Spark Package dependencies using spDependencies.
// e.g. spDependencies += "databricks/spark-avro:0.1"
credentials += Credentials(Path.userHome / ".ivy2" / ".sbtcredentials") // A file containing credentials