fix actions/doc

Javadoc on JDK11 no longer generates package-list it seems.
This commit is contained in:
Eugene Yokota 2019-01-03 15:25:08 -05:00
parent 3f405daf6a
commit 610495af53
2 changed files with 8 additions and 7 deletions

View File

@ -0,0 +1,5 @@
lazy val root = (project in file("."))
.settings(
crossPaths := false,
Compile / doc / scalacOptions += "-Xfatal-warnings"
)

View File

@ -1,7 +1,3 @@
> 'set crossPaths := false'
> 'set scalacOptions in (Compile, doc) += "-Xfatal-warnings"'
-> doc
> 'set sources in (Compile, doc) := { val src = (sources in Compile).value; src.filterNot(_.getName contains "B") }'
@ -29,9 +25,9 @@ $ absent "target/api/java"
> ; clean ; doc
# pure java project, only javadoc at top level
$ exists "target/api/package-list"
$ exists "target/api/index.html"
$ absent "target/api/index.js"
# pending
# pending
# $ absent "target/api/scala"
#$ absent "target/api/java"
# $ absent "target/api/java"