You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "krrrr38 (via GitHub)" <gi...@apache.org> on 2023/07/23 00:17:43 UTC
[GitHub] [incubator-pekko-http] krrrr38 commented on a diff in pull request #258: build: sbt-header resolves boilerplace template files
krrrr38 commented on code in PR #258:
URL: https://github.com/apache/incubator-pekko-http/pull/258#discussion_r1271362886
##########
build.sbt:
##########
@@ -163,6 +163,8 @@ lazy val http = project("http")
"scaladsl/server/directives/FormFieldDirectives.scala", "scaladsl/server/directives/RespondWithDirectives.scala"))
.enablePlugins(BootstrapGenjavadoc, BoilerplatePlugin)
.enablePlugins(ReproducibleBuildsPlugin)
+ .settings(
+ Compile / headerSources ++= (Compile / boilerplateSource).value.**("*.scala.template").get)
Review Comment:
`boilerplateSource` is avalable only in `http` project which uses `BoilerplatePlugin`.
But it's possible to use it before enable plugin, so move this settings in other `.settings` method.
https://github.com/apache/incubator-pekko-http/pull/258/commits/d17bd7f9111ca30da7f4116e741f30d1fb2162d1
If we don't need to use `boilerplateSource`, we can add settings into aggregated project. It means we can put settings with `*.scala.template` only, not `boilerplateSource`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org