object AkkaVersion
- Source
- AkkaVersion.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AkkaVersion
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def require(libraryName: String, requiredVersion: String): Unit
Check that the version of Akka is a specific patch version or higher and throw an UnsupportedAkkaVersion exception if the version requirement is not fulfilled.
Check that the version of Akka is a specific patch version or higher and throw an UnsupportedAkkaVersion exception if the version requirement is not fulfilled.
For example:
require("my-library", "2.5.4")
would fail if used with Akka 2.4.19 and 2.5.3, but succeed with 2.5.4 and 2.6.1- libraryName
The name of the library or component requiring the Akka version, used in the error message.
- requiredVersion
Minimal version that this library works with