This plugin can verify that the Apache Pekko module versions of a project match. Pekko also does this verification itself, but the advantage is that this check can run before running any (integration) tests or running your application in production. You can use it also as part of your build chain and make the build fail if non-matching versions are found. This project started as a fork of sbt-akka-version-check.
sbt-pekko-version-check is published for sbt 1.10.0 and above. To start using it add the following to your
plugins.sbt
:
addSbtPlugin("nl.gn0s1s" % "sbt-pekko-version-check" % "0.0.7")
Task | Description | Command |
---|---|---|
pekkoVersionCheck | Runs version check. | $ sbt pekkoVersionCheck |
You can configure the configuration in your build.sbt
file.
Setting | Description | Default Value |
---|---|---|
pekkoVersionCheckFailBuildOnNonMatchingVersions | Sets whether non-matching versions fail the build, if false non-matching versions show up as warnings in the log, if true they show up as errors. |
false |
The code is available under the Apache 2.0 License.