-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
38 lines (29 loc) · 959 Bytes
/
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
ThisBuild / organization := "io.github.yangzai"
ThisBuild / scalaVersion := "2.12.8"
ThisBuild / crossScalaVersions += "2.11.12"
name := "spark-typeclass"
val sparkVersion = "2.4.0"
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-sql" % sparkVersion % Provided,
"org.typelevel" %% "cats-core" % "1.5.0",
"com.chuusai" %% "shapeless" % "2.3.3" //frameless uses 2.3.2 at the moment
)
ThisBuild / wartremoverErrors ++= Warts allBut Wart.ImplicitParameter
scalacOptions += "-Ypartial-unification"
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.9.8")
import ReleaseTransformations._
releaseCrossBuild := true
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
releaseStepCommandAndRemaining("+publishSigned"),
setNextVersion,
commitNextVersion,
releaseStepCommand("sonatypeReleaseAll"),
pushChanges
)