build.sbt 836 Bytes
Newer Older
35V LG84's avatar
35V LG84 committed
1 2 3 4 5 6
import Dependencies._

/**
 * Build settings for DirSuite
 */

35V LG84's avatar
35V LG84 committed
7 8
lazy val scala212 = "2.12.10"
lazy val scala213 = "2.13.1"
9 10
lazy val supportedScalaVersions = List(scala212, scala213)

35V LG84's avatar
35V LG84 committed
11 12
lazy val commonSettings = Seq(
  organization := "fi.e257.testing",
13
  scalaVersion := scala213,
35V LG84's avatar
35V LG84 committed
14 15 16 17 18 19 20 21
  scalacOptions ++= Seq(
	"-Xlint",
	"-deprecation",
	"-feature",
	"-unchecked",
	"-Xfatal-warnings"),
  wartremoverErrors ++= Warts.allBut(
    Wart.Throw //https://github.com/puffnfresh/wartremover/commit/869763999fcc1fd685c1a8038c974854457b608f
22
  )
35V LG84's avatar
35V LG84 committed
23 24 25 26 27
)

lazy val dirsuite = (project in file(".")).
  settings(commonSettings: _*).
  settings(
28
    crossScalaVersions := supportedScalaVersions,
35V LG84's avatar
35V LG84 committed
29
    name := "dirsuite",
35V LG84's avatar
35V LG84 committed
30
    version := "0.31.0-SNAPSHOT",
35V LG84's avatar
35V LG84 committed
31 32 33 34 35
    fork in run := true,
    libraryDependencies += betterFiles,
    libraryDependencies += scalatest
  )