From 7d17f9b4d2d16880b9155486c8922995522ec3ff Mon Sep 17 00:00:00 2001 From: Matthew de Detrich Date: Mon, 26 Feb 2024 10:50:39 +0100 Subject: [PATCH] Make single arg defs lazy val's --- .../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 project has yet to be fully endorsed by the ASF." - 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 ++= {