Skip to content

Commit a390153

Browse files
committed
fix: Failing Scaladoc generation for 2.12
1 parent 2cf6d6a commit a390153

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
@@ -518,6 +518,6 @@ lazy val sslConfig = project
518518

519519
addCommandAlias(
520520
"check",
521-
"scalafmtSbtCheck; scalafmtCheckAll; compile:scalafix --check; test:scalafix --check; site/mdoc; +missinglinkCheck; +test"
521+
"scalafmtSbtCheck; scalafmtCheckAll; compile:scalafix --check; test:scalafix --check; +doc; +site/mdoc; +missinglinkCheck; +test"
522522
)
523523
addCommandAlias("fix", "compile:scalafix; test:scalafix; scalafmtSbt; scalafmtAll")

project/BuildSettings.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ object BuildSettings {
4646
scalacOptions ++= List(
4747
"-Ywarn-unused" // necessary for Scalafix RemoveUnused rule (not present in sbt-tpolecat for 2.13)
4848
) ++ (if (scalaVersion.value.startsWith("2.13")) List("-Wmacros:after") else List.empty),
49+
Compile / doc / scalacOptions -= "-Xfatal-warnings",
4950
missinglinkExcludedDependencies ++= List(
5051
moduleFilter(organization = "ch.qos.logback"),
5152
moduleFilter(organization = "com.datastax.oss", name = "java-driver-core"),

0 commit comments

Comments
 (0)