=pro Fix doc build of java only projects
* javadoc complains on the -target flag for projects with only java sources * found solution here: https://groups.google.com/forum/#!topic/simple-build-tool/I75AODwFlH0
This commit is contained in:
parent
f5791a2c35
commit
8076c784ec
1 changed files with 2 additions and 1 deletions
|
|
@ -802,7 +802,8 @@ object AkkaBuild extends Build {
|
|||
Protobuf.settings ++ Seq(
|
||||
// compile options
|
||||
scalacOptions in Compile ++= Seq("-encoding", "UTF-8", "-target:jvm-1.6", "-deprecation", "-feature", "-unchecked", "-Xlog-reflective-calls", "-Xlint"),
|
||||
javacOptions in Compile ++= Seq("-encoding", "UTF-8", "-source", "1.6", "-target", "1.6", "-Xlint:unchecked", "-Xlint:deprecation"),
|
||||
javacOptions in compile ++= Seq("-encoding", "UTF-8", "-source", "1.6", "-target", "1.6", "-Xlint:unchecked", "-Xlint:deprecation"),
|
||||
javacOptions in doc ++= Seq("-encoding", "UTF-8", "-source", "1.6"),
|
||||
|
||||
// if changing this between binary and full, also change at the bottom of akka-sbt-plugin/sample/project/Build.scala
|
||||
crossVersion := CrossVersion.binary,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue