This is an automated email from the ASF dual-hosted git repository.
raboof pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-grpc.git
The following commit(s) were added to refs/heads/main by this push:
new 3c5e281f chore: add sbt-salad-days to reduce Scaladoc archive size
(#737)
3c5e281f is described below
commit 3c5e281ff714b630474191fc87c98d260e8a598f
Author: He-Pin(kerr) <[email protected]>
AuthorDate: Wed Jun 24 18:38:59 2026 +0800
chore: add sbt-salad-days to reduce Scaladoc archive size (#737)
Motivation:
Scala 3 Scaladoc archives bundle large font files and inkuire.js
search engine, bloating release artifacts and wasting CI storage.
Modification:
Add sbt-salad-days plugin (0.1.0) which automatically strips
fonts and scripts from Scaladoc output during packaging.
Result:
Significantly smaller Scaladoc archives (e.g. ~420KB for minimal
docs), reducing upload time and storage consumption.
---
project/plugins.sbt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 43c49aa7..d1f89929 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -43,3 +43,6 @@ libraryDependencies += "org.eclipse.jgit" %
"org.eclipse.jgit" % "7.7.0.20260601
libraryDependencies += "org.scala-sbt" %% "scripted-plugin" % sbtVersion.value
libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" %
"1.0.0-alpha.5"
+
+// https://eed3si9n.com/reducing-scaladoc-file-size-with-sbt-salad-days/
+addSbtPlugin("com.eed3si9n" % "sbt-salad-days" % "0.1.0")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]