-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbuild.sbt
39 lines (31 loc) · 1.27 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
name := "spark-plugins"
version := "0.4-SNAPSHOT"
isSnapshot := true
scalaVersion := "2.12.18"
crossScalaVersions := Seq("2.12.18", "2.13.8")
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
libraryDependencies += "io.dropwizard.metrics" % "metrics-core" % "4.2.19"
libraryDependencies += "org.apache.hadoop" % "hadoop-client-api" % "3.3.4"
libraryDependencies += "io.pyroscope" % "agent" % "0.13.0"
libraryDependencies += "org.apache.spark" %% "spark-core" % "3.5.1"
// publishing to Sonatype Nexus repository and Maven
publishMavenStyle := true
organization := "ch.cern.sparkmeasure"
description := "SparkPlugins provides code and examples of how to deploy Apache Spark Plugins. Notably focusing on extensions to the metrics system applied to measuring I/O from cloud Filesystems, OS/system metrics and custom metrics."
developers := List(Developer(
"LucaCanali", "Luca Canali", "[email protected]",
url("https://github.com/LucaCanali")
))
homepage := Some(url("https://github.com/cerndb/SparkPlugins"))
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
)
scmInfo := Some(
ScmInfo(
url("https://github.com/cerndb/SparkPlugins"),
"scm:[email protected]:cerndb/SparkPlugins.git"
)
)