Skip to content

Commit

Permalink
Enabled scaladoc for Scala 3 build.
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeseng committed Sep 1, 2022
1 parent 43f1a75 commit 87bbea9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions project/DottyBuild.scala
Expand Up @@ -66,7 +66,6 @@ trait DottyBuild { this: BuildCommons =>
}.taskValue,
//scalacticDocSourcesSetting,
//docTaskSetting,
publishArtifact in (Compile, packageDoc) := false, // Temporary disable publishing of doc, can't get it to build.
mimaPreviousArtifacts := Set(organization.value %% name.value % previousReleaseVersion),
mimaCurrentClassfiles := (classDirectory in Compile).value.getParentFile / (name.value + "_" + scalaBinaryVersion.value + "-" + releaseVersion + ".jar")
).settings(osgiSettings: _*).settings(
Expand Down Expand Up @@ -123,7 +122,6 @@ trait DottyBuild { this: BuildCommons =>
}.taskValue,
//scalacticDocSourcesSetting,
//docTaskSetting,
publishArtifact in (Compile, packageDoc) := false, // Temporary disable publishing of doc, can't get it to build.
mimaPreviousArtifacts := Set(organization.value %% name.value % previousReleaseVersion),
mimaCurrentClassfiles := (classDirectory in Compile).value.getParentFile / (name.value + "_" + scalaBinaryVersion.value + "-" + releaseVersion + ".jar")
).settings(osgiSettings: _*).settings(
Expand Down Expand Up @@ -180,7 +178,6 @@ trait DottyBuild { this: BuildCommons =>
}.taskValue,
//scalacticDocSourcesSetting,
//docTaskSetting,
publishArtifact in (Compile, packageDoc) := false, // Temporary disable publishing of doc, can't get it to build.
mimaPreviousArtifacts := Set(organization.value %% name.value % previousReleaseVersion),
mimaCurrentClassfiles := (classDirectory in Compile).value.getParentFile / (name.value + "_" + scalaBinaryVersion.value + "-" + releaseVersion + ".jar")
).settings(osgiSettings: _*).settings(
Expand Down Expand Up @@ -241,7 +238,6 @@ trait DottyBuild { this: BuildCommons =>
//GenSafeStyles.genMain((sourceManaged in Compile).value / "org" / "scalatest", version.value, scalaVersion.value)
}.taskValue,
//scalatestJSDocTaskSetting,
publishArtifact in (Compile, packageDoc) := false, // Temporary disable publishing of doc, can't get it to build.
mimaPreviousArtifacts := Set(organization.value %% name.value % previousReleaseVersion),
mimaCurrentClassfiles := (classDirectory in Compile).value.getParentFile / (name.value + "_" + scalaBinaryVersion.value + "-" + releaseVersion + ".jar"),
mimaBinaryIssueFilters ++= {
Expand Down Expand Up @@ -317,7 +313,6 @@ trait DottyBuild { this: BuildCommons =>
//GenSafeStyles.genMain((sourceManaged in Compile).value / "org" / "scalatest", version.value, scalaVersion.value)
}.taskValue,
//scalatestJSDocTaskSetting,
publishArtifact in (Compile, packageDoc) := false, // Temporary disable publishing of doc, can't get it to build.
mimaPreviousArtifacts := Set(organization.value %% name.value % previousReleaseVersion),
mimaCurrentClassfiles := (classDirectory in Compile).value.getParentFile / (name.value + "_" + scalaBinaryVersion.value + "-" + releaseVersion + ".jar"),
mimaBinaryIssueFilters ++= {
Expand Down Expand Up @@ -394,7 +389,6 @@ trait DottyBuild { this: BuildCommons =>
//GenSafeStyles.genMain((sourceManaged in Compile).value / "org" / "scalatest", version.value, scalaVersion.value)
}.taskValue,
//scalatestJSDocTaskSetting,
publishArtifact in (Compile, packageDoc) := false, // Temporary disable publishing of doc, can't get it to build.
mimaPreviousArtifacts := Set(organization.value %% name.value % previousReleaseVersion),
mimaCurrentClassfiles := (classDirectory in Compile).value.getParentFile / (name.value + "_" + scalaBinaryVersion.value + "-" + releaseVersion + ".jar"),
mimaBinaryIssueFilters ++= {
Expand Down Expand Up @@ -435,7 +429,6 @@ trait DottyBuild { this: BuildCommons =>
organization := "org.scalatest",
moduleName := name,
packageManagedSources,
publishArtifact in (Compile, packageDoc) := false, // Temporary disable publishing of doc, can't get it to build.
osgiSettings,
OsgiKeys.additionalHeaders := Map(
"Bundle-Name" -> title,
Expand Down

0 comments on commit 87bbea9

Please sign in to comment.