Download via SBT & Gradle

A similar process is used for downloading Bee Config and Bee Client. The instructions that follow apply to both - please adjust to suit your needs.

In what follows, please allow for the possibility that the latest version number is newer than what’s in the examples below.

Using SBT

Getting Bee Config and Bee Client needs some lines such as these adding to your build.sbt:

libraryDependencies ++= Seq(
    "uk.co.bigbeeconsultants" %% "bee-config" % "0.12.+",
    "uk.co.bigbeeconsultants" %% "bee-client" % "0.18.+",
    "org.slf4j"      % "slf4j-api"       % "1.7.+",
    "ch.qos.logback" % "logback-core"    % "1.0.+",
    "ch.qos.logback" % "logback-classic" % "1.0.+"
)

resolvers += "Big Bee Consultants" at "http://dl.bintray.com/rick-beton/maven"

You may like to add withSources() and/or withJavadoc() to any of the library dependencies (before the comma). You may prefer to use a different logging back-end, but SLF4J is required.

Using Gradle

An example build.gradle is as follows:

apply plugin: 'base'
apply plugin: 'scala'

allprojects {
    repositories {
        mavenRepo name: "Big Bee Consultants",
                  url: "http://dl.bintray.com/rick-beton/maven"
        mavenRepo name: "Maven",
                  url: "http://repo1.maven.org/maven2"
        mavenRepo name: "scala-tools.org",
                  url: "http://scala-tools.org/repo-releases"
    }
}

project.ext {
    scalaVersion = "2.9.2"
    scalaCompiler = "org.scala-lang:scala-compiler:${scalaVersion}"
    scalaLibrary = "org.scala-lang:scala-library:${scalaVersion}"

    beeclient = "uk.co.bigbeeconsultants:bee-client_${scalaVersion}:0.18.4"
    beeconfig = "uk.co.bigbeeconsultants:bee-config_${scalaVersion}:0.12.1"

    slf4jVersion = "1.7.2"
    slf4j = [
            "org.slf4j:slf4j-api:${slf4jVersion}",
            "ch.qos.logback:logback-core:1.0.7",
            "ch.qos.logback:logback-classic:1.0.7"
    ]
}

dependencies {
    scalaTools scalaLibrary, scalaCompiler
    compile scalaLibrary, slf4j
    compile beeclient, beeconfig
}