-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
28 lines (22 loc) · 944 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
import sbt._
import sbt.Keys._
addCompilerPlugin("io.tryp" % "splain" % "0.3.1" cross CrossVersion.patch)
// format: off
scalaOrganization in ThisBuild := "org.scala-lang"
scalaVersion in ThisBuild := "2.12.4"
conflictManager in ThisBuild := ConflictManager.strict
// format: on
enablePlugins( FormatPlugin, ScalacPlugin )
val sharedSettings = Seq( organization := "fr.thomasdufour" )
val lillefp10Settings =
Defaults.coreDefaultSettings ++
sharedSettings ++
Dependencies.settings :+
(testOptions in Test += Tests.Argument( TestFrameworks.ScalaTest, "-oDF" ))
val `lillefp10` = project
.in( file( "." ) )
.settings( lillefp10Settings )
.settings( SbtBuildInfo.buildSettings( "Lillefp10CoreBuildInfo" ) )
.settings( Console.coreImports.settings )
.settings( libraryDependencies ++= Seq( "auto-diff-core", "auto-diff-enumeratum", "auto-diff-generic" ).map(
"fr.thomasdufour" %% _ % "0.2.1.0-SNAPSHOT" ) )