sbt

You will need to add Lightbend-provided credential to your sbt build and deployment to enable the monitoring and other components from Enterprise 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.17

Bintray credentials

As a subscriber, to get access to your credentials log into Lightbend’s Customer Portal. Otherwise, please contact Lightbend to try out the Lightbend Enterprise Suite.

Once you have retrieved the credentials, you should put them in a file

  • for Linux or Mac: ~/.lightbend/commercial.credentials
  • for Windows: %HOMEPATH%\.lightbend\commercial.credentials

the contents of which should look like

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 Enterprise 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 an Enterprise 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 Telemetry (Cinnamon) sbt Plugin

See Telemetry sbt setup for more details on sbt-cinnamon and the Cinnamon Java Agent.