From a72d286b6d04a7edd74e24376821280cd64482c7 Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Sat, 11 Apr 2026 09:23:01 +0900 Subject: [PATCH] Fix scaladoc issue in mainProj and sbtIvyProj --- build.sbt | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index 311c9435e..ead4b846f 100644 --- a/build.sbt +++ b/build.sbt @@ -742,8 +742,10 @@ lazy val mainProj = (project in file("main")) Test / testOptions += Tests .Argument(TestFrameworks.ScalaCheck, "-minSuccessfulTests", "1000"), SettingKey[Boolean]("usePipelining") := false, - // TODO: Fix doc - Compile / doc / sources := Nil, + libraryDependencies += { + // https://github.com/scala/scala3/issues/18487 + "net.hamnaberg" %% "dataclass-annotation" % dataclassScalafixVersion % Provided + }, mimaSettings, mimaBinaryIssueFilters ++= Vector( // Moved to sbt-ivy module (Step 5 of sbt#7640) @@ -782,8 +784,10 @@ lazy val sbtIvyProj = (project in file("sbt-ivy")) name := "sbt-ivy", sbtPlugin := true, pluginCrossBuild / sbtVersion := version.value, - // TODO: Fix doc - Compile / doc / sources := Nil, + libraryDependencies += { + // https://github.com/scala/scala3/issues/18487 + "net.hamnaberg" %% "dataclass-annotation" % dataclassScalafixVersion % Provided + }, mimaPreviousArtifacts := Set.empty, // new module, no previous artifacts ) .configure(addSbtIO)