forked from bigdatagenomics/adam
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request bigdatagenomics#7 from ryan-williams/sbt
Merge in upstream, upgrade parent plugin
- Loading branch information
Showing
77 changed files
with
2,033 additions
and
583 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,57 +1,41 @@ | ||
organization := "org.hammerlab.adam" | ||
|
||
name := ParentPlugin.sparkName("adam-core") | ||
name := sparkName("adam-core") | ||
|
||
version := "0.20.4-SNAPSHOT" | ||
|
||
sonatypeProfileName := "org.hammerlab" | ||
|
||
val utilsVersion = "0.2.9" | ||
|
||
hadoopVersion := "2.7.3" | ||
|
||
scalatestVersion := "2.2.1" | ||
|
||
testDeps ++= Seq( | ||
"org.bdgenomics.utils" %% "utils-misc" % utilsVersion classifier("tests") exclude("org.apache.spark", "*"), | ||
addSparkDeps | ||
publishTestJar | ||
enableScalariform | ||
|
||
// Using ":=" here to clobber the usual default hammerlab-test-libs that are added by parent-plugin, which use | ||
// Scalatest 3.0.0. | ||
testDeps := Seq( | ||
"org.mockito" % "mockito-core" % "1.10.19" | ||
) | ||
|
||
providedDeps ++= Seq( | ||
libraries.value('hadoop), | ||
libraries.value('spark) | ||
) | ||
testJarTestDeps += (libraries.value('bdg_utils_misc) exclude("org.apache.spark", "*")) | ||
|
||
libraryDependencies ++= Seq( | ||
"org.bdgenomics.utils" %% "utils-metrics" % utilsVersion, | ||
"org.bdgenomics.utils" %% "utils-misc" % utilsVersion, | ||
"org.bdgenomics.utils" %% "utils-io" % utilsVersion exclude("com.fasterxml.jackson.core", "*"), | ||
"org.bdgenomics.utils" %% "utils-cli" % utilsVersion, | ||
"org.bdgenomics.utils" %% "utils-intervalrdd" % utilsVersion, | ||
"com.esotericsoftware.kryo" % "kryo" % "2.24.0", | ||
"org.bdgenomics.bdg-formats" % "bdg-formats" % "0.10.0", | ||
"commons-io" % "commons-io" % "2.4", | ||
libraries.value('bdg_formats), | ||
libraries.value('bdg_utils_cli), | ||
libraries.value('bdg_utils_intervalrdd), | ||
libraries.value('bdg_utils_io), | ||
libraries.value('bdg_utils_metrics), | ||
libraries.value('bdg_utils_misc), | ||
libraries.value('commons_io), | ||
libraries.value('hadoop_bam) exclude("com.github.samtools", "htsjdk"), | ||
libraries.value('log4j), | ||
"com.github.samtools" % "htsjdk" % "2.5.0", | ||
"com.netflix.servo" % "servo-core" % "0.10.0", | ||
"it.unimi.dsi" % "fastutil" % "6.6.5", | ||
"org.apache.avro" % "avro" % "1.8.0", | ||
"org.slf4j" % "slf4j-log4j12" % "1.7.21", | ||
"org.apache.httpcomponents" % "httpclient" % "4.5.2", | ||
"org.apache.parquet" % "parquet-avro" % "1.8.1", | ||
"org.apache.parquet" % "parquet-scala_2.10" % "1.8.1" exclude("org.scala-lang", "scala-library"), | ||
libraries.value('hadoop_bam), | ||
"com.github.samtools" % "htsjdk" % "2.5.0", | ||
"org.apache.httpcomponents" % "httpclient" % "4.5.2", | ||
"com.netflix.servo" % "servo-core" % "0.10.0", | ||
"org.hammerlab" %% "genomic-loci" % "1.4.2" exclude("com.github.samtools", "htsjdk") | ||
"org.hammerlab" %% "genomic-loci" % "1.4.4" exclude("com.github.samtools", "htsjdk") | ||
) | ||
|
||
import scalariform.formatter.preferences._ | ||
import com.typesafe.sbt.SbtScalariform | ||
import com.typesafe.sbt.SbtScalariform.ScalariformKeys | ||
|
||
SbtScalariform.defaultScalariformSettings | ||
|
||
ScalariformKeys.preferences := ScalariformKeys.preferences.value | ||
.setPreference(AlignParameters, true) | ||
.setPreference(CompactStringConcatenation, false) | ||
.setPreference(AlignSingleLineCaseStatements, true) | ||
.setPreference(DoubleIndentClassDeclaration, true) | ||
.setPreference(PreserveDanglingCloseParenthesis, true) |
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,2 +1 @@ | ||
addSbtPlugin("org.hammerlab" % "sbt-parent" % "1.2.3") | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-scalariform" % "1.3.0") | ||
addSbtPlugin("org.hammerlab" % "sbt-parent" % "1.4.0") |
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
Oops, something went wrong.