File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -5,17 +5,19 @@ name := "jackson-module-scala"
5
5
6
6
organization := " com.fasterxml.jackson.module"
7
7
8
- scalaVersion := " 2.11.7 "
8
+ scalaVersion := " 2.11.8 "
9
9
10
- crossScalaVersions := Seq (" 2.10.6" , " 2.11.7 " )
10
+ crossScalaVersions := Seq (" 2.10.6" , " 2.11.8 " )
11
11
12
12
scalacOptions ++= Seq (" -deprecation" , " -unchecked" , " -feature" )
13
13
14
14
// Temporarily disable warnings as fatal until migrate Option to new features.
15
15
// scalacOptions in (Compile, compile) += "-Xfatal-warnings"
16
16
17
17
// 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
+ }
19
21
20
22
javacOptions ++= Seq (
21
23
" -source" , " 1.6" ,
You can’t perform that action at this time.
0 commit comments