forked from aertslab/GRNBoost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
42 lines (30 loc) · 1.52 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
import sbt.Keys._
organization := "org.aertslab"
name := "GRNBoost"
description := "A scalable gene regulatory network inference library"
scalaVersion := "2.11.11"
sparkVersion := "2.1.0"
sparkComponents ++= Seq("core", "mllib", "sql", "hive")
javaOptions ++= Seq("-Xms1G", "-Xmx8G", "-XX:MaxPermSize=8G", "-XX:+CMSClassUnloadingEnabled")
parallelExecution in Test := false
// uncomment with respect to your operating system if you do not have xgboost in your Maven repository
// unmanagedBase := baseDirectory.value / "lib_amazon_linux"
// unmanagedBase := baseDirectory.value / "lib_max_os"
unmanagedBase := baseDirectory.value / "lib_ubuntu"
// See http://stackoverflow.com/questions/28565837/filename-too-long-sbt
scalacOptions ++= Seq("-Xmax-classfile-name","78")
resolvers += Resolver.mavenLocal
resolvers += Resolver.bintrayRepo("bkirwi", "maven")
resolvers += "Spark Packages Repo" at "http://dl.bintray.com/spark-packages/maven"
libraryDependencies ++= Seq(
// uncomment this if you have xgboost built in your Maven repository
// "ml.dmlc" % "xgboost4j" % "[0.7,)" % "provided" exclude("com.esotericsoftware.kryo", "kryo"),
"com.softwaremill.quicklens" %% "quicklens" % "1.4.8",
"com.github.scopt" %% "scopt" % "3.6.0",
"org.scalactic" %% "scalactic" % "3.0.1" % "test",
"ch.qos.logback" % "logback-classic" % "1.2.3" % "test",
"com.holdenkarau" %% "spark-testing-base" % "2.1.1_0.7.1" % "test"
)
// assembly config
assemblyJarName := "GRNBoost.jar"
test in assembly := {}