Skip to content
This repository was archived by the owner on Feb 23, 2018. It is now read-only.

Commit d941b4f

Browse files
committed
Use the same java compiler flags as before in scala/scala
1 parent 684782c commit d941b4f

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

build.sbt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
scalaModuleSettings
22

3-
name := "scala-asm"
3+
name := "scala-asm"
44

5-
version := "5.0.3-scala-2"
5+
version := "5.0.3-scala-3"
66

77
// Otherwise the artifact has a dependency on scala-library
88
autoScalaLibrary := false
99

1010
// Don't add `_<scala-version>` to the jar file name - it's a Java-only project, no Scala cross-versioning needed
11-
crossPaths := false
11+
crossPaths := false
12+
13+
javacOptions ++= Seq("-g", "-source", "1.5", "-target", "1.6")
14+
15+
// javadoc fails if we pass all of the above
16+
javacOptions in doc := Seq("-source", "1.5")
1217

1318
scalaModuleOsgiSettings
1419

0 commit comments

Comments
 (0)