-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
39 lines (28 loc) · 831 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
name := "STMPresentation"
description := "Scala STM Presentation"
organization in ThisBuild := "org.saegesser"
version in ThisBuild := "0.1-SNAPSHOT"
scalaVersion in ThisBuild := "2.11.2"
licenses in ThisBuild += ("MIT", url("http://opensource.org/licenses/MIT"))
libraryDependencies ++= Seq(
"org.scala-stm" %% "scala-stm" % "0.7"
)
scalacOptions in ThisBuild ++= Seq(
"-feature",
"-deprecation",
"-Yno-adapted-args",
// "-Ywarn-value-discard",
"-Ywarn-numeric-widen",
"-Ywarn-dead-code",
// "-Xfatal-warnings",
"-Xlint",
"-unchecked"
)
initialCommands in console := """
import stmdemo._
import scala.concurrent._
import scala.concurrent.stm._
import ExecutionContext.Implicits.global"""
// fork in run := true
// javaOptions in run := Seq("-Dccstm.stats=true")
lazy val core = project.in(file("."))