-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
54 lines (46 loc) · 1.95 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
import Dependencies._
ThisBuild / scalaVersion := "2.11.12" // for Apache Spark v2.4.3
ThisBuild / version := "1.0.0"
ThisBuild / organization := "com.example"
ThisBuild / organizationName := "example"
lazy val root = (project in file("."))
.settings(
name := "spark-ceph-connector",
// https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common
// FIXME: The version should be 2.9.2 but temporarily use 2.9.1
// because there is no source code in the Maven repository
libraryDependencies += "org.apache.hadoop" % "hadoop-common" % "2.9.1",
// https://mvnrepository.com/artifact/com.ceph/rados
libraryDependencies += "com.ceph" % "rados" % "0.5.0",
libraryDependencies += scalaTest % Test,
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs@_*) => MergeStrategy.discard
case x => MergeStrategy.first
}
)
// Uncomment the following for publishing to Sonatype.
// See https://www.scala-sbt.org/1.x/docs/Using-Sonatype.html for more detail.
ThisBuild / description := "spark-ceph-connector"
ThisBuild / licenses := List("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))
ThisBuild / homepage := Some(url("https://github.com/shuuji3/spark-ceph-connector"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/shuuji3/spark-ceph-connector"),
"scm:[email protected]:shuuji3/spark-ceph-connector.git"
)
)
ThisBuild / developers := List(
Developer(
id = "shuuji3",
name = "TAKAHASHI Shuuji",
email = "[email protected]",
url = url("https://github.com/shuuji3")
)
)
// ThisBuild / pomIncludeRepository := { _ => false }
// ThisBuild / 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")
// }
// ThisBuild / publishMavenStyle := true