-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
51 lines (43 loc) · 1.31 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
43
44
45
46
47
48
49
50
51
import ReleaseTransformations._
name := "iris2bq"
scalaVersion := "2.11.11"
scalafmtOnCompile in ThisBuild := true
enablePlugins(JavaAppPackaging)
enablePlugins(LauncherJarPlugin)
// you shall not pass
scalacOptions in ThisBuild := Seq(
"-unchecked",
"-feature",
"-deprecation",
"-encoding",
"utf8",
"-unchecked",
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
"-Ywarn-unused",
"-Ywarn-unused-import"
)
libraryDependencies += "com.databricks" %% "spark-avro" % "4.0.0"
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % "2.2.0",
"org.apache.spark" %% "spark-sql" % "2.2.0"
)
libraryDependencies += "com.google.cloud" % "google-cloud-bigquery" % "0.26.0-beta"
libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.10.0"
libraryDependencies += "com.google.cloud.bigdataoss" % "gcs-connector" % "1.6.1-hadoop2"
//libraryDependencies += "com.spotify" % "spark-bigquery_2.11" % "0.2.1"
libraryDependencies += "com.github.pureconfig" %% "pureconfig" % "0.8.0"
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.7.2"
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
//publishArtifacts,
setNextVersion,
commitNextVersion,
pushChanges
)