Skip to content

Commit

Permalink
Merge pull request #39 from GiganticMinecraft/update-redisscala
Browse files Browse the repository at this point in the history
chore: rediscala を更新
  • Loading branch information
outductor authored Jan 26, 2025
2 parents 4a02987 + 30d2fc1 commit cc2eec0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ val testDependencies = Seq(
val dependenciesToEmbed = Seq(
"org.typelevel" %% "cats-core" % "2.13.0",
"org.typelevel" %% "cats-effect" % "2.5.5",
"com.github.etaty" %% "rediscala" % "1.9.0",
"io.github.rediscala" %% "rediscala" % "1.17.0",
)

// treat localDependencies as "provided" and do not shade them in the output Jar
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package click.seichi.bungeesemaphore

import java.util.concurrent.Executors
import akka.actor.ActorSystem
import org.apache.pekko.actor.ActorSystem
import cats.effect.{ContextShift, IO, SyncIO, Timer}
import click.seichi.bungeesemaphore.application.configuration.Configuration
import click.seichi.bungeesemaphore.application.{EffectEnvironment, HasGlobalPlayerDataSaveLock, HasPlayerConnectionLock}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package click.seichi.bungeesemaphore.infrastructure.akka

import akka.actor.ActorSystem
import org.apache.pekko.actor.ActorSystem

case class ConfiguredActorSystemProvider(configurationPath: String) {
// we need to explicitly pass the classloader because
// Akka cannot find the loader used to load this class
lazy val classLoader: ClassLoader = getClass.getClassLoader

def provide(): ActorSystem = {
akka.actor.ActorSystem(
org.apache.pekko.actor.ActorSystem(
name = "default",
classLoader = Some(classLoader)
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package click.seichi.bungeesemaphore.infrastructure.redis

import akka.actor.ActorSystem
import org.apache.pekko.actor.ActorSystem
import click.seichi.bungeesemaphore.application.configuration.Configuration
import redis.RedisClient

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package click.seichi.bungeesemaphore.infrastructure.redis

import akka.actor.{ActorSystem, Props}
import akka.util.ByteString
import org.apache.pekko.actor.{ActorSystem, Props}
import org.apache.pekko.util.ByteString
import cats.Monad
import cats.effect.concurrent.Deferred
import cats.effect.{Concurrent, ConcurrentEffect, ContextShift, Effect, IO, Sync}
Expand Down

0 comments on commit cc2eec0

Please sign in to comment.