New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
do not generate javadoc for tests #17528
The head ref may contain hidden characters: "wip-fix-javaunidoc-\u2202\u03C0"
Conversation
@@ -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")), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alright, magic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, not at all: we previously added the configuration that emits the synthetic Java sources to the Test configuration, now we don’t.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where do we add this opt to scalacOptions in the first place?
I can't find the string "genjavadoc" anywhere else than scalacOptions in Compile += "-P:genjavadoc:fabricateParams=true"
, but that can't be the thing.
Is it added by unidoc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it is in genjavadocExtraSettings, pulled in from project/Unidoc.scala
.
LGTM, thanks |
Test PASSed. |
do not generate javadoc for tests
No description provided.