@@ -4,7 +4,9 @@ organization := "com.nativelibs4java"
44
55version := " 0.4-SNAPSHOT"
66
7- scalaVersion := " 2.11.7"
7+
8+ crossScalaVersions := Seq (" 2.11.12" , " 2.12.7" )
9+ scalaVersion := crossScalaVersions.value.last
810
911resolvers += Resolver .sonatypeRepo(" snapshots" )
1012
@@ -13,7 +15,7 @@ libraryDependencies <+= scalaVersion("org.scala-lang" % "scala-compiler" % _)
1315libraryDependencies <+= scalaVersion(" org.scala-lang" % " scala-reflect" % _)
1416
1517libraryDependencies ++= Seq (
16- " org.scala-js" %% " scalajs-library" % " 0.6.5 " % " test" ,
18+ " org.scala-js" %% " scalajs-library" % " 0.6.25 " % " test" ,
1719 " junit" % " junit" % " 4.12" % " test" ,
1820 " com.novocode" % " junit-interface" % " 0.11" % " test"
1921)
@@ -31,8 +33,9 @@ javaOptions += "-Xmx4G"
3133scalacOptions ++= Seq (
3234 " -encoding" , " UTF-8" ,
3335 " -deprecation" , " -feature" , " -unchecked" ,
34- " -optimise" , " -Yclosure-elim" , " -Yinline" ,
35- " -YclasspathImpl:flat" ,
36+ " -optimise" ,
37+ // "-Yclosure-elim", "-Yinline",
38+ // "-YclasspathImpl:flat",
3639 " -Xlog-free-types"
3740)
3841
0 commit comments