-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
37 lines (23 loc) · 1.04 KB
/
build.sbt
File metadata and controls
37 lines (23 loc) · 1.04 KB
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
name := "patterns"
organization := "org.lodsb"
version := "0.1-SNAPSHOT"
scalaVersion := "2.10.1"
scalacOptions ++= Seq("-unchecked", "-deprecation") //, "-Xprint:typer")
scalacOptions <++= scalaVersion map { version =>
val Version = """(\d+)\.(\d+)\..*"""r
val Version(major0, minor0) = version map identity
val (major, minor) = (major0.toInt, minor0.toInt)
if (major < 2 || (major == 2 && minor < 10))
Seq("-Ydependent-method-types")
else Nil
}
resolvers += "Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"
unmanagedClasspath in Compile += Attributed.blank(new java.io.File("doesnotexist"))
unmanagedBase <<= baseDirectory { base => base / "libraries" }
resolvers += "Twitter repo" at "http://maven.twttr.com/"
//libraryDependencies ++= Seq(
// "com.twitter" %% "util-eval" % "[6.2.4,)"
//)
libraryDependencies += "org.lodsb" %% "reakt" % "0.2-SNAPSHOT"
//libraryDependencies += "org.scalaz" %% "scalaz-core" % "7.0.3"
//libraryDependencies += "pl.project13.scala" %% "macro-method-alias" % "1.0"