aboutsummaryrefslogblamecommitdiff
path: root/build.sbt
blob: a54205c4ea4db2aac3f10ef40c63d0c4f985c4fe (plain) (tree)
1
2
3
4
5
6
7
                               
 




                                                                           








                                                  
 

                                       
                                           
                                                   
 
name := "spray-json-derivation"

version in ThisBuild := {
  import sys.process._
  ("git describe --always --dirty=-SNAPSHOT --match v[0-9].*" !!).tail.trim
}

crossScalaVersions := "2.12.4" :: "2.11.12" :: Nil
scalaVersion := crossScalaVersions.value.head

scalacOptions ++= Seq(
  "-feature",
  "-deprecation",
  "-Xlint",
  "-Xfatal-warnings"
)

libraryDependencies ++= Seq(
  "io.spray" %% "spray-json" % "1.3.4",
  "com.propensive" %% "magnolia" % "0.7.0",
  "org.scalatest" %% "scalatest" % "3.0.2" % "test"
)