From c5fc56face9ce8af038a763096af674052187cb8 Mon Sep 17 00:00:00 2001 From: Roland Kuhn Date: Wed, 20 May 2015 09:00:21 +0200 Subject: [PATCH] do not generate javadoc for tests --- project/AkkaBuild.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/project/AkkaBuild.scala b/project/AkkaBuild.scala index 7ebf6f0164..2cdda33000 100644 --- a/project/AkkaBuild.scala +++ b/project/AkkaBuild.scala @@ -313,7 +313,8 @@ object AkkaBuild extends Build { // compile options scalacOptions in Compile ++= Seq("-encoding", "UTF-8", "-target:jvm-1.8", "-feature", "-unchecked", "-Xlog-reflective-calls", "-Xlint"), scalacOptions in Compile ++= (if (allWarnings) Seq("-deprecation") else Nil), - scalacOptions in Test := (scalacOptions in Test).value.filterNot(_ == "-Xlog-reflective-calls"), + scalacOptions in Test := (scalacOptions in Test).value.filterNot(opt => + opt == "-Xlog-reflective-calls" || opt.contains("genjavadoc")), // -XDignore.symbol.file suppresses sun.misc.Unsafe warnings javacOptions in compile ++= Seq("-encoding", "UTF-8", "-source", "1.8", "-target", "1.8", "-Xlint:unchecked", "-XDignore.symbol.file"), javacOptions in compile ++= (if (allWarnings) Seq("-Xlint:deprecation") else Nil),