From 6e2dd7c0b2a46f9a83cdeeb17a5d61d09912ea4c Mon Sep 17 00:00:00 2001 From: Tim Underwood Date: Wed, 26 Sep 2018 10:58:48 -0700 Subject: [PATCH] build.sbt - Disable Scalac Optimizer since it is currently broken on Java 9+ when using Scala <= 2.12.6 --- build.sbt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 0ed457a..98092f6 100644 --- a/build.sbt +++ b/build.sbt @@ -20,8 +20,9 @@ scalacOptions := Seq( "-Ywarn-unused-import" ) else Nil) ++ (if (scalaVersion.value.startsWith("2.12")) Seq( // Scala 2.12 specific compiler flags - "-opt:l:inline", - "-opt-inline-from:", + // NOTE: These are currently broken on Scala <= 2.12.6 when using Java 9+ (will hopefully be fixed in 2.12.7) + //"-opt:l:inline", + //"-opt-inline-from:", ) else Nil) sbtPlugin := true