mirror of https://github.com/sbt/sbt.git
fix actions/doc
Javadoc on JDK11 no longer generates package-list it seems.
This commit is contained in:
parent
3f405daf6a
commit
610495af53
|
|
@ -0,0 +1,5 @@
|
|||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
crossPaths := false,
|
||||
Compile / doc / scalacOptions += "-Xfatal-warnings"
|
||||
)
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue