diff --git a/build.sbt b/build.sbt index 479aa42..90daa5e 100644 --- a/build.sbt +++ b/build.sbt @@ -1,5 +1,5 @@ val scala_212 = "2.12.20" -val scala_213 = "2.13.14" +val scala_213 = "2.13.16" val scala_3 = "3.3.4" val V = new { @@ -28,17 +28,17 @@ val D = new { lazy val zio = Def.setting("dev.zio" %%% "zio" % V.zio) } -ThisBuild / tlBaseVersion := "0.19" -ThisBuild / tlCiReleaseBranches := Seq("master") -ThisBuild / tlVersionIntroduced := Map("3" -> "0.16.3") -ThisBuild / tlSonatypeUseLegacyHost := true -ThisBuild / organization := "io.laserdisc" -ThisBuild / organizationName := "LaserDisc" -ThisBuild / licenses := Seq(License.MIT) -ThisBuild / startYear := Some(2018) -ThisBuild / developers := List(tlGitHubDev("barambani", "Filippo Mariotti")) -ThisBuild / crossScalaVersions := Seq(scala_212, scala_213, scala_3) -ThisBuild / scalaVersion := scala_213 +ThisBuild / tlBaseVersion := "0.19" +ThisBuild / tlCiReleaseBranches := Seq("master") +ThisBuild / tlVersionIntroduced := Map("3" -> "0.16.3") +ThisBuild / sonatypeCredentialHost := Sonatype.sonatypeLegacy +ThisBuild / organization := "io.laserdisc" +ThisBuild / organizationName := "LaserDisc" +ThisBuild / licenses := Seq(License.MIT) +ThisBuild / startYear := Some(2018) +ThisBuild / developers := List(tlGitHubDev("barambani", "Filippo Mariotti")) +ThisBuild / crossScalaVersions := Seq(scala_212, scala_213, scala_3) +ThisBuild / scalaVersion := scala_213 ThisBuild / githubWorkflowJavaVersions := Seq( JavaSpec.temurin("11"), JavaSpec.temurin("17") @@ -52,7 +52,13 @@ ThisBuild / libraryDependencies ++= Seq( ) lazy val commonSettings = Seq( - headerEndYear := Some(2024) + headerEndYear := Some(2025), + scalacOptions ++= { + CrossVersion.partialVersion(scalaVersion.value) match { + case Some((2, major)) if major >= 13 => Seq("-Wconf:cat=unused-nowarn:s") + case _ => Seq.empty + } + } ) lazy val root = tlCrossRootProject diff --git a/core/src/main/scala/log/effect/Failure.scala b/core/src/main/scala/log/effect/Failure.scala index 68ae13d..c1eda76 100644 --- a/core/src/main/scala/log/effect/Failure.scala +++ b/core/src/main/scala/log/effect/Failure.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/core/src/main/scala/log/effect/LogLevel.scala b/core/src/main/scala/log/effect/LogLevel.scala index fdeab94..c04c99b 100644 --- a/core/src/main/scala/log/effect/LogLevel.scala +++ b/core/src/main/scala/log/effect/LogLevel.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/core/src/main/scala/log/effect/LogWriter.scala b/core/src/main/scala/log/effect/LogWriter.scala index d321d32..d908813 100644 --- a/core/src/main/scala/log/effect/LogWriter.scala +++ b/core/src/main/scala/log/effect/LogWriter.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/core/src/main/scala/log/effect/LogWriterConstructor.scala b/core/src/main/scala/log/effect/LogWriterConstructor.scala index 13446e8..9dd8fd4 100644 --- a/core/src/main/scala/log/effect/LogWriterConstructor.scala +++ b/core/src/main/scala/log/effect/LogWriterConstructor.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/core/src/main/scala/log/effect/internal/EffectSuspension.scala b/core/src/main/scala/log/effect/internal/EffectSuspension.scala index 7a8cb5b..23596c4 100644 --- a/core/src/main/scala/log/effect/internal/EffectSuspension.scala +++ b/core/src/main/scala/log/effect/internal/EffectSuspension.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/core/src/main/scala/log/effect/internal/Functor.scala b/core/src/main/scala/log/effect/internal/Functor.scala index 0579265..ba8346d 100644 --- a/core/src/main/scala/log/effect/internal/Functor.scala +++ b/core/src/main/scala/log/effect/internal/Functor.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/core/src/main/scala/log/effect/internal/Show.scala b/core/src/main/scala/log/effect/internal/Show.scala index 7037958..a77e6df 100644 --- a/core/src/main/scala/log/effect/internal/Show.scala +++ b/core/src/main/scala/log/effect/internal/Show.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/core/src/main/scala/log/effect/internal/package.scala b/core/src/main/scala/log/effect/internal/package.scala index 9a798de..c1df3b1 100644 --- a/core/src/main/scala/log/effect/internal/package.scala +++ b/core/src/main/scala/log/effect/internal/package.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/core/src/main/scala/log/effect/internal/syntax/FunctorSyntax.scala b/core/src/main/scala/log/effect/internal/syntax/FunctorSyntax.scala index e4f02c8..cc3001b 100644 --- a/core/src/main/scala/log/effect/internal/syntax/FunctorSyntax.scala +++ b/core/src/main/scala/log/effect/internal/syntax/FunctorSyntax.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/core/src/main/scala/log/effect/internal/syntax/ShowSyntax.scala b/core/src/main/scala/log/effect/internal/syntax/ShowSyntax.scala index 3b29a86..2d8b13d 100644 --- a/core/src/main/scala/log/effect/internal/syntax/ShowSyntax.scala +++ b/core/src/main/scala/log/effect/internal/syntax/ShowSyntax.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/core/src/main/scala/log/effect/internal/syntax/package.scala b/core/src/main/scala/log/effect/internal/syntax/package.scala index f0eeb3e..e331fad 100644 --- a/core/src/main/scala/log/effect/internal/syntax/package.scala +++ b/core/src/main/scala/log/effect/internal/syntax/package.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/core/src/test/scala/LogWriterSyntaxResolutionTest.scala b/core/src/test/scala/LogWriterSyntaxResolutionTest.scala index fbe3742..2f66279 100644 --- a/core/src/test/scala/LogWriterSyntaxResolutionTest.scala +++ b/core/src/test/scala/LogWriterSyntaxResolutionTest.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/fs2/src/main/scala/log/effect/fs2/Fs2LogWriter.scala b/fs2/src/main/scala/log/effect/fs2/Fs2LogWriter.scala index bf5ec55..7fcdce6 100644 --- a/fs2/src/main/scala/log/effect/fs2/Fs2LogWriter.scala +++ b/fs2/src/main/scala/log/effect/fs2/Fs2LogWriter.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/fs2/src/main/scala/log/effect/fs2/LogSelector.scala b/fs2/src/main/scala/log/effect/fs2/LogSelector.scala index 8eb2495..3cce5a8 100644 --- a/fs2/src/main/scala/log/effect/fs2/LogSelector.scala +++ b/fs2/src/main/scala/log/effect/fs2/LogSelector.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/fs2/src/main/scala/log/effect/fs2/SyncLogWriter.scala b/fs2/src/main/scala/log/effect/fs2/SyncLogWriter.scala index c82b023..7e23200 100644 --- a/fs2/src/main/scala/log/effect/fs2/SyncLogWriter.scala +++ b/fs2/src/main/scala/log/effect/fs2/SyncLogWriter.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/fs2/src/main/scala/log/effect/fs2/interop/show.scala b/fs2/src/main/scala/log/effect/fs2/interop/show.scala index 5d69694..adb2324 100644 --- a/fs2/src/main/scala/log/effect/fs2/interop/show.scala +++ b/fs2/src/main/scala/log/effect/fs2/interop/show.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/fs2/src/main/scala/log/effect/fs2/mtl/readerT.scala b/fs2/src/main/scala/log/effect/fs2/mtl/readerT.scala index f05404f..e7602fc 100644 --- a/fs2/src/main/scala/log/effect/fs2/mtl/readerT.scala +++ b/fs2/src/main/scala/log/effect/fs2/mtl/readerT.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/fs2/src/main/scala/log/effect/fs2/syntax/Fs2LogEffectSyntax.scala b/fs2/src/main/scala/log/effect/fs2/syntax/Fs2LogEffectSyntax.scala index 634e9f1..be887db 100644 --- a/fs2/src/main/scala/log/effect/fs2/syntax/Fs2LogEffectSyntax.scala +++ b/fs2/src/main/scala/log/effect/fs2/syntax/Fs2LogEffectSyntax.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/fs2/src/main/scala/log/effect/fs2/syntax/package.scala b/fs2/src/main/scala/log/effect/fs2/syntax/package.scala index 6b608db..21bcd25 100644 --- a/fs2/src/main/scala/log/effect/fs2/syntax/package.scala +++ b/fs2/src/main/scala/log/effect/fs2/syntax/package.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/fs2/src/test/scala/LogSelectorTest.scala b/fs2/src/test/scala/LogSelectorTest.scala index 6baaf86..74de0ee 100644 --- a/fs2/src/test/scala/LogSelectorTest.scala +++ b/fs2/src/test/scala/LogSelectorTest.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/fs2/src/test/scala/LogWriterResolutionTest.scala b/fs2/src/test/scala/LogWriterResolutionTest.scala index 8d48afb..7c51e7d 100644 --- a/fs2/src/test/scala/LogWriterResolutionTest.scala +++ b/fs2/src/test/scala/LogWriterResolutionTest.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/fs2/src/test/scala/ReadmeConstructionCodeSnippetsTest.scala b/fs2/src/test/scala/ReadmeConstructionCodeSnippetsTest.scala index 9f4300a..642ff3c 100644 --- a/fs2/src/test/scala/ReadmeConstructionCodeSnippetsTest.scala +++ b/fs2/src/test/scala/ReadmeConstructionCodeSnippetsTest.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/fs2/src/test/scala/ReadmeLogSubmissionCodeSnippetsTest.scala b/fs2/src/test/scala/ReadmeLogSubmissionCodeSnippetsTest.scala index fbf4609..ef58a47 100644 --- a/fs2/src/test/scala/ReadmeLogSubmissionCodeSnippetsTest.scala +++ b/fs2/src/test/scala/ReadmeLogSubmissionCodeSnippetsTest.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/fs2/src/test/scala/log/effect/fs2/TestLogCapture.scala b/fs2/src/test/scala/log/effect/fs2/TestLogCapture.scala index 36a7139..5dc6602 100644 --- a/fs2/src/test/scala/log/effect/fs2/TestLogCapture.scala +++ b/fs2/src/test/scala/log/effect/fs2/TestLogCapture.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/interop/src/main/scala/log/effect/interop/Log4catsInterop.scala b/interop/src/main/scala/log/effect/interop/Log4catsInterop.scala index 2317281..d8473b6 100644 --- a/interop/src/main/scala/log/effect/interop/Log4catsInterop.scala +++ b/interop/src/main/scala/log/effect/interop/Log4catsInterop.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/interop/src/main/scala/log/effect/interop/package.scala b/interop/src/main/scala/log/effect/interop/package.scala index f0e82b4..fcec63e 100644 --- a/interop/src/main/scala/log/effect/interop/package.scala +++ b/interop/src/main/scala/log/effect/interop/package.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/interop/src/test/scala/InteropLogSelectorTest.scala b/interop/src/test/scala/InteropLogSelectorTest.scala index 8f98080..2c42ab5 100644 --- a/interop/src/test/scala/InteropLogSelectorTest.scala +++ b/interop/src/test/scala/InteropLogSelectorTest.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/interop/src/test/scala/InteropTest.scala b/interop/src/test/scala/InteropTest.scala index ec71d5f..cefdb6f 100644 --- a/interop/src/test/scala/InteropTest.scala +++ b/interop/src/test/scala/InteropTest.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/zio/src/main/scala/log/effect/zio/ZioLogWriter.scala b/zio/src/main/scala/log/effect/zio/ZioLogWriter.scala index 33c53c5..fc1f6b8 100644 --- a/zio/src/main/scala/log/effect/zio/ZioLogWriter.scala +++ b/zio/src/main/scala/log/effect/zio/ZioLogWriter.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/zio/src/test/scala/ConsoleLogWriterTest.scala b/zio/src/test/scala/ConsoleLogWriterTest.scala index c1f1cf7..276ce10 100644 --- a/zio/src/test/scala/ConsoleLogWriterTest.scala +++ b/zio/src/test/scala/ConsoleLogWriterTest.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/zio/src/test/scala/Log4sLogWriterTest.scala b/zio/src/test/scala/Log4sLogWriterTest.scala index a2cfb26..dc16143 100644 --- a/zio/src/test/scala/Log4sLogWriterTest.scala +++ b/zio/src/test/scala/Log4sLogWriterTest.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/zio/src/test/scala/LogWriterResolutionTest.scala b/zio/src/test/scala/LogWriterResolutionTest.scala index 052a34a..16661ef 100644 --- a/zio/src/test/scala/LogWriterResolutionTest.scala +++ b/zio/src/test/scala/LogWriterResolutionTest.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/zio/src/test/scala/ReadmeLayerConstructionCodeSnippetsTest.scala b/zio/src/test/scala/ReadmeLayerConstructionCodeSnippetsTest.scala index 861555e..ffa344f 100644 --- a/zio/src/test/scala/ReadmeLayerConstructionCodeSnippetsTest.scala +++ b/zio/src/test/scala/ReadmeLayerConstructionCodeSnippetsTest.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/zio/src/test/scala/ReadmeRioConstructionCodeSnippetsTest.scala b/zio/src/test/scala/ReadmeRioConstructionCodeSnippetsTest.scala index 78297ae..36ad7dc 100644 --- a/zio/src/test/scala/ReadmeRioConstructionCodeSnippetsTest.scala +++ b/zio/src/test/scala/ReadmeRioConstructionCodeSnippetsTest.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in diff --git a/zio/src/test/scala/log/effect/zio/TestLogCapture.scala b/zio/src/test/scala/log/effect/zio/TestLogCapture.scala index 092d495..c1336cd 100644 --- a/zio/src/test/scala/log/effect/zio/TestLogCapture.scala +++ b/zio/src/test/scala/log/effect/zio/TestLogCapture.scala @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024 LaserDisc + * Copyright (c) 2018-2025 LaserDisc * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in