-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
66 lines (52 loc) · 2.06 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
organization := "net.noresttherein"
name := "oldsql"
version := "Imoen"
scalaVersion := "2.13.10-patch"
Compile / fork := true
Compile / javaOptions ++= Seq("-Xmx4G")
Test / testOptions ++= Seq(Tests.Filter(s => !s.endsWith("Props")))
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-compiler" % "2.13.10-patch",
"org.scala-lang" % "scala-library" % "2.13.10-patch",
"org.scala-lang" % "scala-reflect" % "2.13.10-patch",
"net.bytebuddy" % "byte-buddy" % "1.13.0",
// "org.postgresql" % "postgresql" % "9.2-1004-jdbc41",
// "org.hibernate" % "hibernate-core" % "5.4.24.Final",
"org.scalatest" %% "scalatest" % "3.2.15" % "test",
"org.scalacheck" %% "scalacheck" % "1.17.0" % "test"
)
//javaOptions ++= Seq(
// "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=127.0.0.1:2501"
//// "-Xbootclasspath/a:/home/turin/scala/patches/lib/ConcurrentModificationExceptionPatch.jar"
//)
scalacOptions ++= Seq(
// "-J-Xss8m",
// "-verbose",
// "-Ydebug", //<- always throws a NullPointerException
// "-Ylog:0-100",
// "-Ytyper-debug", //<- reports an error in a place which compiles without it
// "-Ylog:extmethods",
// "-Ycheck:extmethods",
// "-Ylog-classpath",
"-Vimplicits",
"-Vimplicits-verbose-tree",
// "-Xprint:0-100",
// "-Xprint:extmethods",
// "-Xdev",
// "-Vtype-diffs",
// "-Vprint-types",
"-Xlog-reflective-calls",
"-Xlog-implicits",
// "-Jagentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=127.0.0.1:2501",
// "-W",
// "-JXbootclasspath/a:/home/turin/scala/patches/lib/ConcurrentModificationExceptionPatch.jar",
// "-bootclasspath:/home/turin/scala/patches/lib/ConcurrentModificationExceptionPatch.jar",
"-Wunused:patvars,privates,locals",
"""-Wconf:msg=export:silent,cat=other-match-analysis&msg=Singleton():silent,cat=deprecation&msg=foldLeft:silent,cat=deprecation&msg=foldRight:silent,cat=deprecation:w,cat=feature:w""",
"-Xlint:delayedinit-select,implicit-not-found,option-implicit,poly-implicit-overload,nullary-unit",
"-feature",
"-language:implicitConversions",
"-language:higherKinds",
"-language:reflectiveCalls",
"-language:existentials"
)