You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by md...@apache.org on 2024/02/26 09:55:43 UTC

(incubator-pekko-sbt-paradox) branch main updated: Make single arg defs lazy val's

This is an automated email from the ASF dual-hosted git repository.

mdedetrich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-sbt-paradox.git


The following commit(s) were added to refs/heads/main by this push:
     new 07d8d06  Make single arg defs lazy val's
07d8d06 is described below

commit 07d8d067145fd31c086196476215b43ea6b8dc84
Author: Matthew de Detrich <ma...@aiven.io>
AuthorDate: Mon Feb 26 10:50:39 2024 +0100

    Make single arg defs lazy val's
---
 plugin/src/main/scala/org/apache/pekko/PekkoParadoxPlugin.scala | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/plugin/src/main/scala/org/apache/pekko/PekkoParadoxPlugin.scala b/plugin/src/main/scala/org/apache/pekko/PekkoParadoxPlugin.scala
index 6abf86c..c7fabf4 100644
--- a/plugin/src/main/scala/org/apache/pekko/PekkoParadoxPlugin.scala
+++ b/plugin/src/main/scala/org/apache/pekko/PekkoParadoxPlugin.scala
@@ -40,14 +40,14 @@ object PekkoParadoxPlugin extends AutoPlugin {
   val incubatorNoticeText =
     "Apache Pekko is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the proj [...]
 
-  override def requires = ParadoxPlugin
+  override lazy val requires = ParadoxPlugin
 
-  override def trigger = noTrigger
+  override lazy val trigger = noTrigger
 
-  override def projectSettings: Seq[Setting[_]] =
+  override lazy val projectSettings: Seq[Setting[_]] =
     ParadoxMaterialThemePlugin.projectSettings ++ pekkoParadoxSettings(Compile)
 
-  def pekkoParadoxGlobalSettings: Seq[Setting[_]] = Seq(
+  lazy val pekkoParadoxGlobalSettings: Seq[Setting[_]] = Seq(
     paradoxTheme := Some("org.apache.pekko" % "pekko-theme-paradox" % version),
     // Target hostname for static assets (CSS, JS, Icons, Font)
     paradoxProperties ++= {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org