From 6fa1bea98093608388fe614fe459ba7e05d42d10 Mon Sep 17 00:00:00 2001 From: Diego Date: Sun, 18 Mar 2018 18:38:33 -0300 Subject: set specific parameters by scala version --- build.sbt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 27a13503..5c2cc104 100644 --- a/build.sbt +++ b/build.sbt @@ -35,7 +35,8 @@ val commonSettings = Seq( ) ++ (CrossVersion.partialVersion(scalaVersion.value) match { case Some((2,10)) => Seq("-Yno-generic-signatures", "-target:jvm-1.7") case Some((2,11)) => Seq("-Ybackend:GenBCode","-Ydelambdafy:method","-target:jvm-1.8") - case _ => Seq("-opt:l:method") + case Some((2,12)) => Seq("-opt:l:method") + case _ => Seq.empty }) ) -- cgit v1.2.3