Skip to content

Commit

Permalink
customizing build parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Yitao Li <[email protected]>
  • Loading branch information
yitao-li committed May 22, 2020
1 parent 0c2529a commit b4f9ffa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ lazy val formattingPreferences = {
}

lazy val compilationSettings = scalariformSettings ++ Seq(
version := "0.6.0-SNAPSHOT",
version := sys.props.getOrElse("version", default = "0.6.0-SNAPSHOT"),
organization := "com.twosigma",
scalaVersion := "2.12.10",
scalaVersion := sys.props.getOrElse("scala.version", default = "2.12.8"),
assemblyOption in assembly := (assemblyOption in assembly).value.copy(includeScala = false),
javacOptions ++= Seq("-source", "1.7", "-target", "1.7"),
compileOrder in Compile := CompileOrder.JavaThenScala,
Expand All @@ -58,7 +58,7 @@ lazy val versions = new {
val commons_math = "3.5"
val joda_time = "2.9.4"
val httpclient = "4.3.2" // Note that newer versions need to be configured
val spark = "3.0.0-preview2" // sys.props.getOrElse("spark.version", default = "2.4.3")
val spark = sys.props.getOrElse("spark.version", default = "2.4.3")
val scalatest = "3.0.8"
val scalacheck = "1.12.6"
val grizzled_slf4j = "1.3.0"
Expand Down
5 changes: 5 additions & 0 deletions scripts/build_spark_3.0_artifacts.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

set -e

sbt -Dversion='0.6.1-SNAPSHOT' -Dscala.version='2.12.10' -Dspark.version='3.0.0-preview2' assemblyNoTest

0 comments on commit b4f9ffa

Please sign in to comment.