-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
executable file
·43 lines (38 loc) · 941 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
39
40
41
42
43
organization := "uk.co.aiur"
name := "scalabridge-devkit"
version := "0.4.0"
scalaVersion := "2.12.8"
libraryDependencies ++= Seq(
"org.creativescala" %% "doodle" % "0.9.7",
"org.typelevel" %% "cats-core" % "1.6.0",
"org.scalatest" %% "scalatest" % "3.0.8" % "test"
)
initialCommands in console := """
|import doodle.core._
|import doodle.java2d._
|import doodle.java2d.effect.Frame
|import doodle.syntax._
|import doodle.effect.Writer._
|import doodle.image._
|import doodle.image.syntax._
""".trim.stripMargin
cleanupCommands in console := """
|doodle.java2d.effect.Java2dRenderer.stop()
""".trim.stripMargin
scalacOptions ++= List(
"-encoding",
"utf8",
"-explaintypes",
"-feature",
"-deprecation",
"-unchecked",
"-Xlint",
"-Ypartial-unification",
"-Yrangepos",
"-Ywarn-dead-code",
"-Ywarn-inaccessible",
"-Ywarn-infer-any",
"-Ywarn-numeric-widen",
"-Ywarn-unused",
"-Ywarn-unused-import"
)