Skip to content

Commit f1342fe

Browse files
committed
Fix JavaDoc error that happens during publish
Adds the publish step to the CI `checkAll` command to prevent similar regressions in the future.
1 parent 93a98ea commit f1342fe

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ commands +=
2828
commands +=
2929
Command.command("checkAll") { s =>
3030
"scalafmtCheckAll" :: "scalafmtSbtCheck" :: "scalafixAll --check" ::
31-
"javafmtCheckAll" :: s
31+
"javafmtCheckAll" :: "publishLocal" :: s
3232
}
3333

3434
lazy val testSettings = List(

project/JavacBootClasspathPlugin.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ object JavacBootClasspathPlugin extends AutoPlugin {
1515
lazy val configSettings = List(
1616
javacOptions ++= List("-target", "1.8", "-source", "1.8"),
1717
javacOptions.in(doc) --= List("-target", "1.8"),
18+
javacOptions.in(doc) --= bootclasspathSettings,
1819
javaHome := Some(javaHomeDirectory),
1920
javacOptions ++= bootclasspathSettings,
2021
javaOptions ++= bootclasspathSettings

0 commit comments

Comments
 (0)