-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3b2c06a
commit a911305
Showing
2 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,38 @@ | ||
name := "SparkPlugins" | ||
name := "spark-plugins" | ||
|
||
version := "0.1" | ||
isSnapshot := false | ||
|
||
scalaVersion := "2.12.10" | ||
|
||
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0")) | ||
|
||
libraryDependencies += "io.dropwizard.metrics" % "metrics-core" % "4.1.1" | ||
|
||
//libraryDependencies += "org.apache.hadoop" % "hadoop-common" % "2.7.4" | ||
libraryDependencies += "org.apache.hadoop" % "hadoop-common" % "3.2.0" | ||
|
||
libraryDependencies += "org.apache.spark" %% "spark-core" % "3.0.1" | ||
|
||
// publishing to Sonatype Nexus repository and Maven | ||
publishMavenStyle := true | ||
|
||
organization := "ch.cern.sparkmeasure" | ||
description := "SparkPlugins provides code and examples of Apache Spark Plugin 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" | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
logLevel := Level.Warn | ||
|
||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1") | ||
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.4") | ||
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.1") |