~jan0sch/smederee

Showing details for patch 7515adfd99e10540689d91e986677366b4e748e5.
2024-02-15 (Thu), 7:59 PM - Jens Grassel - 7515adfd99e10540689d91e986677366b4e748e5

Cleanup: Adjust imports to Scala 3 syntax

Summary of changes
1 files modified with 11 lines added and 11 lines removed
  • build.sbt with 11 added and 11 removed lines
diff -rN -u old-smederee/build.sbt new-smederee/build.sbt
--- old-smederee/build.sbt	2025-01-12 22:05:53.566153069 +0000
+++ new-smederee/build.sbt	2025-01-12 22:05:53.566153069 +0000
@@ -2,7 +2,7 @@
 // Build settings
 // *****************************************************************************
 
-import java.time._
+import java.time.*
 
 // The current year is used to update the license copyright headers in the  sources.
 val currentYear: Int = OffsetDateTime.now().getYear
@@ -189,11 +189,11 @@
                 case module => module
             } ++ Seq("org.scala-lang.modules" %% "scala-xml" % "2.2.0"),
             TwirlKeys.templateImports ++= Seq(
-                "cats._",
-                "cats.data._",
-                "cats.syntax.all._",
-                "de.smederee.html._",
-                "de.smederee.i18n._",
+                "cats.*",
+                "cats.data.*",
+                "cats.syntax.all.*",
+                "de.smederee.html.*",
+                "de.smederee.i18n.*",
                 "de.smederee.security.{ CsrfToken, UserId, Username }",
                 "org.http4s.Uri"
             )
@@ -321,11 +321,11 @@
                 case module => module
             } ++ Seq("org.scala-lang.modules" %% "scala-xml" % "2.2.0"),
             TwirlKeys.templateImports ++= Seq(
-                "cats._",
-                "cats.data._",
-                "cats.syntax.all._",
-                "de.smederee.html._",
-                "de.smederee.i18n._",
+                "cats.*",
+                "cats.data.*",
+                "cats.syntax.all.*",
+                "de.smederee.html.*",
+                "de.smederee.i18n.*",
                 "de.smederee.security.{ CsrfToken, UserId, Username }",
                 "org.http4s.Uri"
             )