From 46ebfbea415a22abda11e9e898791f5dd7a89366 Mon Sep 17 00:00:00 2001 From: eikek Date: Sun, 13 Mar 2022 19:24:00 +0100 Subject: [PATCH] Use calev-fs2 artifact Ref: #1394 --- .../docspell/scheduler/impl/PeriodicSchedulerImpl.scala | 2 +- project/Dependencies.scala | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/modules/scheduler/impl/src/main/scala/docspell/scheduler/impl/PeriodicSchedulerImpl.scala b/modules/scheduler/impl/src/main/scala/docspell/scheduler/impl/PeriodicSchedulerImpl.scala index 2e7ac515..d76aa461 100644 --- a/modules/scheduler/impl/src/main/scala/docspell/scheduler/impl/PeriodicSchedulerImpl.scala +++ b/modules/scheduler/impl/src/main/scala/docspell/scheduler/impl/PeriodicSchedulerImpl.scala @@ -18,7 +18,7 @@ import docspell.scheduler.impl.PeriodicSchedulerImpl.State import docspell.scheduler.msg.{JobsNotify, PeriodicTaskNotify} import docspell.store.records.RPeriodicTask -import eu.timepit.fs2cron.calev.CalevScheduler +import com.github.eikek.calev.fs2.{Scheduler => CalevScheduler} final class PeriodicSchedulerImpl[F[_]: Async]( val config: PeriodicSchedulerConfig, diff --git a/project/Dependencies.scala b/project/Dependencies.scala index a9093d36..7d07a97c 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -19,7 +19,6 @@ object Dependencies { val FlexmarkVersion = "0.64.0" val FlywayVersion = "8.5.2" val Fs2Version = "3.2.5" - val Fs2CronVersion = "0.7.1" val H2Version = "1.4.200" val Http4sVersion = "0.23.10" val Icu4jVersion = "70.1" @@ -110,7 +109,7 @@ object Dependencies { "com.github.eikek" %% "calev-core" % CalevVersion ) val calevFs2 = Seq( - "eu.timepit" %% "fs2-cron-calev" % Fs2CronVersion + "com.github.eikek" %% "calev-fs2" % CalevVersion ) val calevCirce = Seq( "com.github.eikek" %% "calev-circe" % CalevVersion @@ -119,9 +118,6 @@ object Dependencies { val jclOverSlf4j = Seq( "org.slf4j" % "jcl-over-slf4j" % Slf4jVersion ) - // val julOverSlf4j = Seq( - // "org.slf4j" % "jul-to-slf4j" % Slf4jVersion - // ) val poi = Seq( "org.apache.poi" % "poi" % PoiVersion,