sbt

You will need to add Lightbend-provided credential to your sbt build and deployment to enable the monitoring and other components from the Production Suite.

Required sbt version

Make sure that your project is using an sbt version of 0.13.7 or higher. Set the sbt version in project/build.properties:

sbt.version=0.13.12

Bintray credentials

Contact Lightbend to get your Bintray credentials user name and password.

Once you have retrieved the credentials you should put them in a file, e.g. ~/.lightbend/commercial.credentials:

realm = Bintray
host = dl.bintray.com
user = <your username>
password = <your password>

Lightbend Commercial Releases repository

Next add the following to your project/lightbend.sbt Production Suite sbt plugins:

credentials += Credentials(Path.userHome / ".lightbend" / "commercial.credentials")
resolvers += "com-mvn" at "https://repo.lightbend.com/commercial-releases/"
resolvers += Resolver.url("com-ivy",
  url("https://repo.lightbend.com/commercial-releases/"))(Resolver.ivyStylePatterns)

In addition, add the following settings to any of the subprojects you add a Production Suite component:

credentials += Credentials(Path.userHome / ".lightbend" / "commercial.credentials")
resolvers += "com-mvn" at "https://repo.lightbend.com/commercial-releases/"
resolvers += Resolver.url("com-ivy",
  url("https://repo.lightbend.com/commercial-releases/"))(Resolver.ivyStylePatterns)

Lightbend Monitoring sbt Plugin

See Monitoring sbt setup for more details on Monitoring Java Agent.