Skip to content

Commit 9500d21

Browse files
authored
remove "-target:jvm-1.7" from scalacOptions
Scala 2.12 does not support "-target:jvm-1.7"
1 parent b79f4a0 commit 9500d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ val buildSettings = Seq[Setting[_]](
1515
Tags.limit(Tags.Test, 1)
1616
),
1717
// JVM options for building
18-
scalacOptions ++= Seq("-encoding", "UTF-8", "-deprecation", "-unchecked", "-target:jvm-1.7", "-feature"),
18+
scalacOptions ++= Seq("-encoding", "UTF-8", "-deprecation", "-unchecked", "-feature"),
1919
javaOptions in Test ++= Seq("-ea"),
2020
javacOptions in (Compile, compile) ++= Seq("-encoding", "UTF-8", "-Xlint:unchecked", "-Xlint:deprecation", "-source", "1.7", "-target", "1.7"),
2121
// Use lenient validation mode when generating Javadoc (for Java8)

0 commit comments

Comments
 (0)