A plugin that uses sbt-bundle to produce a ConductR bundle for Lagom.
The declared descriptor names are automatically extracted from the Lagom services and added to the bundle configuration.
Add the plugin to the plugins.sbt
:
addSbtPlugin("com.typesafe.sbt" % "sbt-lagom-bundle" % "1.0.3")
Ensure your service implementation projects have enabled the LagomJava
sbt plugin:
lazy val fooImpl = (project in file("foo-impl")).enablePlugins(LagomJava)
Finally, produce a ConductR bundle for each of your service with:
bundle:dist
The following settings are available via LagomBundleKeys
:
Setting | Description |
---|---|
conductrBundleLibVersion | The version of conductr-bundle-lib to depend on. Defaults to 1.4.2. |
endpointsPort | Declares the port for each service endpoint that gets exposed to the outside world, e.g. http://:9000/myservice. Defaults to 9000. |
For more information configuring bundles please check out sbt-bundle.
© Lightbend Inc., 2014-2016