Skip to content

Commit 05a3d63

Browse files
committed
backport #249
1 parent 46e4374 commit 05a3d63

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build.sbt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,19 @@ name := "jackson-module-scala"
55

66
organization := "com.fasterxml.jackson.module"
77

8-
scalaVersion := "2.11.7"
8+
scalaVersion := "2.11.8"
99

10-
crossScalaVersions := Seq("2.10.6", "2.11.7")
10+
crossScalaVersions := Seq("2.10.6", "2.11.8")
1111

1212
scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature")
1313

1414
// Temporarily disable warnings as fatal until migrate Option to new features.
1515
//scalacOptions in (Compile, compile) += "-Xfatal-warnings"
1616

1717
// Ensure jvm 1.6 for java
18-
lazy val java6Home = new File(System.getenv("JAVA6_HOME"))
18+
lazy val java6Home = Option(System.getenv("JAVA6_HOME")).map(new File(_)).getOrElse {
19+
sys.error("Please set JAVA6_HOME environment variable")
20+
}
1921

2022
javacOptions ++= Seq(
2123
"-source", "1.6",

0 commit comments

Comments
 (0)