Skip to content

Commit

Permalink
Revert "use spray-json for search index creation (#35)"
Browse files Browse the repository at this point in the history
This reverts commit bca0a15
  • Loading branch information
mdedetrich committed Feb 14, 2024
1 parent 31845fd commit 6a63b6e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 89 deletions.
2 changes: 0 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ lazy val pekkoPlugin = project
Seq("-Xmx1024M", "-Dplugin.version=" + version.value)
},
scriptedBufferLog := false,
libraryDependencies ++= Seq(
"io.spray" %% "spray-json" % "1.3.6"),
addSbtPlugin(
// When updating the sbt-paradox version,
// remember to also update project/plugins.sbt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@ object PekkoParadoxPlugin extends AutoPlugin {
def pekkoParadoxSettings(config: Configuration): Seq[Setting[_]] = pekkoParadoxGlobalSettings ++ inConfig(config)(Seq(
paradoxTheme / managedSourceDirectories +=
(Assets / WebKeys.webJarsDirectory).value / (Assets / WebKeys.webModulesLib).value / "paradox-material-theme",
paradoxMaterialTheme / mappings := Def.taskDyn {
if (paradoxProperties.value.contains("material.search"))
Def.task(Seq(org.apache.pekko.SearchIndex.mapping(config).value))
else
Def.task(Seq.empty[(File, String)])
}.value,
// we override some files from paradox-material-theme, so we must solve the ambiguity where to take those duplicates from
paradoxTheme / WebKeys.deduplicators += { (files: Seq[File]) =>
files.find(_.getPath.contains("pekko-theme-paradox"))
Expand Down
81 changes: 0 additions & 81 deletions plugin/src/main/scala/org/apache/pekko/SearchIndex.scala

This file was deleted.

0 comments on commit 6a63b6e

Please sign in to comment.