Skip to content

Commit

Permalink
Merge pull request #284 from altoo-ag/useNewRelease
Browse files Browse the repository at this point in the history
adapt doc to latest release
  • Loading branch information
danischroeter committed Mar 11, 2022
2 parents 68a8d81 + 2d5f6e6 commit ebcdd73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ How to use this library in your project
To use this serializer, you need to do two things:

* Include a dependency on this library into your project:
`libraryDependencies += "io.altoo" %% "akka-kryo-serialization" % "2.4.0"`
`libraryDependencies += "io.altoo" %% "akka-kryo-serialization" % "2.4.3"`

* Register and configure the serializer in your Akka configuration file, e.g. `application.conf`.

Expand All @@ -55,7 +55,7 @@ For past versions see [Legacy.md](Legacy.md).

From 2.1.0 onward we also provide support for akka-typed. This is done as a separate artifact so that the standard does not pull all the typed akka dependencies.
* Include:
`libraryDependencies += "io.altoo" %% "akka-kryo-serialization-typed" % "2.4.0"`
`libraryDependencies += "io.altoo" %% "akka-kryo-serialization-typed" % "2.4.3"`

Version 2.2.0 requires JDK 11 or higher in favor of optimizations using ByteBuffer.

Expand All @@ -72,11 +72,11 @@ You can find the JARs on [Sonatype's Maven repository](https://repo1.maven.org/m
To use the latest stable release of akka-kryo-serialization in sbt projects you just need to add
this dependency:

`libraryDependencies += "io.altoo" %% "akka-kryo-serialization" % "2.4.0"`
`libraryDependencies += "io.altoo" %% "akka-kryo-serialization" % "2.4.3"`

To use with Akka 2.5 (or older versions of Akka 2.6) you need to exclude transitive dependencies to preven unintended inclusion of Akka 2.6:

`libraryDependencies += "io.altoo" %% "akka-kryo-serialization" % "2.4.0" excludeAll (ExclusionRule("com.typesafe.akka", "akka-actor_2.13"), ExclusionRule("org.agrona", "agrona"))`
`libraryDependencies += "io.altoo" %% "akka-kryo-serialization" % "2.4.3" excludeAll (ExclusionRule("com.typesafe.akka", "akka-actor_2.13"), ExclusionRule("org.agrona", "agrona"))`

#### maven projects

Expand Down

0 comments on commit ebcdd73

Please sign in to comment.