Library build dependencies

This page lists the build dependency information for the latest versions of Lightbend Platform libraries. To take full advantage of Lightbend Platform, you must also configure your build tool with credentials.

See Lightbend Platform - Supported and Certified Technologies for the full list of supported and certified components, and the Lightbend Customer Portal for support lifecycle information about older versions of Lightbend Platform components.

The dependency examples on this page are for the sbt build tool. You can also use other build tools and IDEs, by providing the dependencies in the required format. Each section links to the detailed documentation, which contains examples for including the dependencies with other build tools.

Akka

Akka includes a set of open-source libraries for designing scalable, resilient systems that span processor cores and networks.

val akkaVersion = "2.6.20"
"com.typesafe.akka" %% "akka-actor"                  % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-actor-testkit-typed"    % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-actor-typed"            % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-coordination"           % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-cluster"                % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-cluster-typed"          % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-cluster-metrics"        % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-cluster-sharding"       % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-cluster-sharding-typed" % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-cluster-tools"          % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-discovery"              % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-distributed-data"       % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-multi-node-testkit"     % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-osgi"                   % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-persistence"            % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-persistence-typed"      % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-persistence-query"      % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-protobuf-v3"            % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-remote"                 % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-slf4j"                  % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-stream"                 % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-stream-testkit"         % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-stream-typed"           % akkaVersion, // Scala 2.12/2.13
"com.typesafe.akka" %% "akka-testkit"                % akkaVersion, // Scala 2.12/2.13

Akka HTTP

Akka HTTP implements a full server- and client-side HTTP stack on top of akka-actor and akka-stream as a general toolkit for providing and consuming HTTP-based services.

val akkaHttpVersion = "10.2.10"
"com.typesafe.akka" %% "akka-http"            % akkaHttpVersion, // 2.12/2.13
"com.typesafe.akka" %% "akka-http-core"       % akkaHttpVersion, // 2.12/2.13
"com.typesafe.akka" %% "akka-http-jackson"    % akkaHttpVersion, // 2.12/2.13
"com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpVersion, // 2.12/2.13
"com.typesafe.akka" %% "akka-http-testkit"    % akkaHttpVersion, // 2.12/2.13
"com.typesafe.akka" %% "akka-http-xml"        % akkaHttpVersion, // 2.12/2.13

Akka gRPC

Akka gRPC provides support for building streaming gRPC servers and clients on top of Akka Streams and Akka HTTP.

addSbtPlugin("com.lightbend.akka.grpc" % "sbt-akka-grpc" % "2.1.3")

Akka Management

Akka Management is a suite of tools for operating Akka Clusters.

val akkaManagementVersion = "1.1.4"
"com.lightbend.akka.management" %% "akka-management"                   % akkaManagementVersion, // Scala 2.12/2.13
"com.lightbend.akka.management" %% "akka-management-cluster-http"      % akkaManagementVersion, // Scala 2.12/2.13
"com.lightbend.akka.management" %% "akka-management-cluster-bootstrap" % akkaManagementVersion, // Scala 2.12/2.13
"com.lightbend.akka.discovery"  %% "akka-discovery-kubernetes-api"     % akkaManagementVersion, // Scala 2.12/2.13

Akka Projections

Akka Projections is used for implementing the read-side of a CQRS system or for event based communication between Microservices.

val akkaProjectionsVersion = "1.2.5"
"com.lightbend.akka" %% "akka-projection-core"         % akkaProjectionsVersion, // Scala 2.12/2.13
"com.lightbend.akka" %% "akka-projection-eventsourced" % akkaProjectionsVersion, // Scala 2.12/2.13
"com.lightbend.akka" %% "akka-projection-kafka"        % akkaProjectionsVersion, // Scala 2.12/2.13
"com.lightbend.akka" %% "akka-projection-cassandra"    % akkaProjectionsVersion, // Scala 2.12/2.13
"com.lightbend.akka" %% "akka-projection-jdbc"         % akkaProjectionsVersion, // Scala 2.12/2.13
"com.lightbend.akka" %% "akka-projection-testkit"      % akkaProjectionsVersion % Test, // Scala 2.12/2.13

Akka Persistence Cassandra

The Akka Persistence Cassandra plugin allows for using Apache Cassandra as a backend for Akka Persistence and Akka Persistence Query.

val akkaPersistenceCassandraVersion = "1.0.6"
"com.typesafe.akka" %% "akka-persistence-cassandra"          % akkaPersistenceCassandraVersion,        // 2.12/2.13
"com.typesafe.akka" %% "akka-persistence-cassandra-launcher" % akkaPersistenceCassandraVersion % Test, // 2.12/2.13

Akka Persistence JDBC

The Akka Persistence JDBC plugin allows for using Relational Databases as a backend for Akka Persistence and Akka Persistence Query.

val akkaPersistenceJdbcVersion = "5.1.0"
"com.lightbend.akka" %% "akka-persistence-jdbc" % akkaPersistenceJdbcVersion, // Scala 2.12/2.13

Akka Resilience Enhancements

Akka Resilience Enhancements improve Akka Cluster self-healing and prevents data loss. It includes the following:

Akka Persistence Enhancements

Akka Persistence Enhancements include the following:

  • Akka GDPR: modules and recommended techniques for building or modifying a system that allows for safe deletion of personal data.

    "com.lightbend.akka" %% "akka-gdpr"                         % "1.1.13", // Scala 2.12/2.13
    "com.lightbend.akka" %% "akka-gdpr-jackson"                 % "1.1.13", // Scala 2.12/2.13
    "com.lightbend.akka" %% "akka-gdpr-playjson"                % "1.1.13", // Scala 2.12/2.13
    "com.lightbend.akka" %% "akka-persistence-update"           % "1.1.13", // Scala 2.12/2.13
    "com.lightbend.akka" %% "akka-persistence-update-cassandra" % "1.1.13", // Scala 2.12/2.13
    "com.lightbend.akka" %% "akka-persistence-update-jdbc"      % "1.1.13", // Scala 2.12/2.13
  • Multi-DC Persistence: Akka Persistence across multiple data centers (DC), availability zones or regions.

    "com.lightbend.akka" %% "akka-persistence-multi-dc"         % "1.1.13",        // Scala 2.12/2.13
    "com.lightbend.akka" %% "akka-persistence-multi-dc-testkit" % "1.1.13" % Test, // Scala 2.12/2.13

Alpakka

Alpakka implements stream-aware and reactive integration pipelines for Java and Scala.

"com.lightbend.akka" %% "akka-stream-alpakka-cassandra" % "3.0.4", // Scala 2.12/2.13
"com.lightbend.akka" %% "akka-stream-alpakka-csv"       % "3.0.4", // Scala 2.12/2.13

Alpakka Kafka

The Alpakka Kafka connector lets you connect Apache Kafka to Akka Streams. It was formerly known as Akka Streams Kafka and even Reactive Kafka.

"com.typesafe.akka"  %% "akka-stream-kafka" % "3.0.1", // Scala 2.13

Lagom Framework

Lagom provides a framework for building Reactive Microservices.

Lagom sbt plugin

addSbtPlugin("com.lightbend.lagom" % "lagom-sbt-plugin" % "1.6.7") // sbt 1.x

Lagom libraries

val lagomVersion = "1.6.7"
"com.lightbend.lagom" %% "api-tools"                                     % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-akka-discovery-service-locator-core"     % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-akka-management-core"                    % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-akka-management-javadsl"                 % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-akka-management-scaladsl"                % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-api"                                     % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" % "lagom-bom"                                      % lagomVersion,
"com.lightbend.lagom" % "lagom-build-tool-support"                       % lagomVersion,
"com.lightbend.lagom" %% "lagom-cassandra-server"                        % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-client"                                  % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-cluster-core"                            % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-core-testkit"                            % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-dev-mode-ssl-support"                    % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-akka-discovery-service-locator"  % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-api"                             % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-broker"                          % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-client"                          % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-cluster"                         % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-immutables"                      % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-jackson"                         % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-kafka-broker"                    % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-kafka-client"                    % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-persistence-cassandra"           % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-persistence-jdbc"                % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-persistence-jpa"                 % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-persistence"                     % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-play-integration"                % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-projection"                      % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-pubsub"                          % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-server"                          % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-javadsl-testkit"                         % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-kafka-broker"                            % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-kafka-client"                            % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-logback"                                 % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-persistence-cassandra-core"              % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-persistence-core"                        % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-persistence-jdbc-core"                   % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-persistence-testkit"                     % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-projection-core"                         % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-reloadable-server"                       % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-scaladsl-akka-discovery-service-locator" % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-scaladsl-api"                            % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-scaladsl-broker"                         % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-scaladsl-client"                         % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-scaladsl-cluster"                        % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-scaladsl-dev-mode"                       % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-scaladsl-kafka-broker"                   % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-scaladsl-kafka-client"                   % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-scaladsl-persistence-cassandra"          % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-scaladsl-persistence-jdbc"               % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-scaladsl-persistence"                    % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-scaladsl-play-json"                      % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-scaladsl-pubsub"                         % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-scaladsl-server"                         % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-scaladsl-testkit"                        % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-server"                                  % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-service-locator"                         % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-service-registration"                    % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-service-registry-client"                 % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-service-registry-client-core"            % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-spi"                                     % lagomVersion, // Scala 2.12/2.13
"com.lightbend.lagom" %% "lagom-kafka-server"                            % lagomVersion, // Scala 2.12
"com.lightbend.lagom" %% "lagom-server-containers"                       % lagomVersion, // Scala 2.12

Fortify SCA for Scala

Fortify SCA is a commercial product from Micro Focus that scans source code to find security issues early in the development cycle. Lightbend provides Fortify SCA for Scala, a Scala compiler plugin that allows Fortify SCA to analyze Scala code.

addCompilerPlugin(
  "com.lightbend" % "scala-fortify" % "1.0.22"
    cross CrossVersion.patch)

Telemetry

Lightbend Telemetry provides a view into the distributed applications at runtime. This view allows developers and operations to respond quickly to problems, track down unexpected behavior and tune the system.

addSbtPlugin("com.lightbend.cinnamon" % "sbt-cinnamon" % "2.17.0") // sbt 0.13/1.x
"com.lightbend.cinnamon" %  "cinnamon-agent"                            % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-agent-common"                     % "2.17.0",
"com.lightbend.cinnamon" %% "cinnamon-akka"                             % "2.17.0" /* Scala 2.11/2.12/2.13 */,
"com.lightbend.cinnamon" %% "cinnamon-akka-cluster"                     % "2.17.0" /* Scala 2.11/2.12/2.13 */,
"com.lightbend.cinnamon" %  "cinnamon-akka-cluster-spi"                 % "2.17.0",
"com.lightbend.cinnamon" %% "cinnamon-akka-grpc"                        % "2.17.0" /* Scala 2.11/2.12/2.13 */,
"com.lightbend.cinnamon" %% "cinnamon-akka-http"                        % "2.17.0" /* Scala 2.11/2.12/2.13 */,
"com.lightbend.cinnamon" %  "cinnamon-akka-http-spi"                    % "2.17.0",
"com.lightbend.cinnamon" %% "cinnamon-akka-persistence"                 % "2.17.0" /* Scala 2.11/2.12/2.13 */,
"com.lightbend.cinnamon" %  "cinnamon-akka-persistence-spi"             % "2.17.0",
"com.lightbend.cinnamon" %% "cinnamon-akka-projection"                  % "2.17.0" /* Scala 2.11/2.12/2.13 */,
"com.lightbend.cinnamon" %  "cinnamon-akka-spi"                         % "2.17.0",
"com.lightbend.cinnamon" %% "cinnamon-akka-stream"                      % "2.17.0" /* Scala 2.11/2.12/2.13 */,
"com.lightbend.cinnamon" %  "cinnamon-akka-stream-spi"                  % "2.17.0",
"com.lightbend.cinnamon" %% "cinnamon-akka-typed"                       % "2.17.0" /* Scala 2.11/2.12/2.13 */,
"com.lightbend.cinnamon" %  "cinnamon-alpakka-kafka-spi"                % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-chmetrics"                        % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-chmetrics3"                       % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-chmetrics3-jvm-metrics"           % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-chmetrics-elasticsearch-reporter" % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-chmetrics-hdrhistogram"           % "2.17.0",
"com.lightbend.cinnamon" %% "cinnamon-chmetrics-http-reporter"          % "2.17.0" /* Scala 2.11/2.12/2.13 */,
"com.lightbend.cinnamon" %  "cinnamon-chmetrics-jvm-metrics"            % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-chmetrics-statsd-reporter"        % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-common"                           % "2.17.0",
"com.lightbend.cinnamon" %% "cinnamon-context-propagation"              % "2.17.0" /* Scala 2.11/2.12/2.13 */,
"com.lightbend.cinnamon" %% "cinnamon-core"                             % "2.17.0" /* Scala 2.11/2.12/2.13 */,
"com.lightbend.cinnamon" %  "cinnamon-core-java"                        % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-datadog"                          % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-datadog-socket"                   % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-jmx-importer-hikaricp"            % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-java"                             % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-java-future-spi"                  % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-jmx-importer"                     % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-jvm-metrics-producer"             % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-jmx-importer-kafka-consumer"      % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-jmx-importer-kafka-producer"      % "2.17.0",
"com.lightbend.cinnamon" %% "cinnamon-lagom"                            % "2.17.0" /* Scala 2.11/2.12/2.13 */,
"com.lightbend.cinnamon" %% "cinnamon-lagom-projection"                 % "2.17.0" /* Scala 2.11/2.12/2.13 */,
"com.lightbend.cinnamon" %  "cinnamon-lagom-projection-spi"             % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-newrelic"                         % "2.17.0",
"com.lightbend.cinnamon" %% "cinnamon-opentracing"                      % "2.17.0" /* Scala 2.11/2.12/2.13 */,
"com.lightbend.cinnamon" %  "cinnamon-opentracing-datadog"              % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-opentracing-jaeger"               % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-opentracing-spi"                  % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-opentracing-tracer"               % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-opentracing-zipkin"               % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-opentracing-zipkin-kafka"         % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-opentracing-zipkin-scribe"        % "2.17.0",
"com.lightbend.cinnamon" %% "cinnamon-play"                             % "2.17.0" /* Scala 2.11/2.12/2.13 */,
"com.lightbend.cinnamon" %  "cinnamon-play-spi"                         % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-prometheus"                       % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-prometheus-httpserver"            % "2.17.0",
"com.lightbend.cinnamon" %% "cinnamon-scala"                            % "2.17.0" /* Scala 2.11/2.12/2.13 */,
"com.lightbend.cinnamon" %  "cinnamon-scala-future-spi"                 % "2.17.0",
"com.lightbend.cinnamon" %  "cinnamon-slf4j-events"                     % "2.17.0",
"com.lightbend.cinnamon" %% "cinnamon-slf4j-mdc"                        % "2.17.0" /* Scala 2.11/2.12/2.13 */,
"com.lightbend.cinnamon" %  "cinnamon-telegraf"                         % "2.17.0"