This is a small Java library for parsing the Cloud Foundry environment variables (VCAP_SERVICES and so on).

// the first line of this file is used as a description in the POM, so keep it short and sweet!

Download from Bintray:

image::https://api.bintray.com/packages/pivotal-labs-london/maven/cf-env/images/download.svg[link="https://bintray.com/pivotal-labs-london/maven/cf-env/_latestVersion"]

Build with Gradle:

--------------------------------------
./gradlew build
--------------------------------------

Release with Gradle:

--------------------------------------
# you probably want to make these changes manually rather than like this
sed -i -e "s/^version = .*/version = 'x.y.z'/" build.gradle
echo -e "bintrayUser=pivotal-labs-london\nbintrayKey=..." >gradle.properties

./gradlew bintrayUpload
--------------------------------------

This is a small Java library for parsing the Cloud Foundry environment variables (VCAP_SERVICES and so on).

// the first line of this file is used as a description in the POM, so keep it short and sweet!

Download from Bintray:

image::https://api.bintray.com/packages/pivotal-labs-london/maven/cf-env/images/download.svg[link="https://bintray.com/pivotal-labs-london/maven/cf-env/_latestVersion"]

Use as a dependency in your build:

--------------------------------------
repositories {
    jcenter() // or mavenCentral, for transitive dependencies
    maven {
        url = 'http://dl.bintray.com/pivotal-labs-london/maven/'
    }
}

dependencies {
    compile group: 'io.pivotal.labs', name: 'cf-env', version: '0.0.1'
}
--------------------------------------

We hope to have the artifact available via JCenter soon, but until then, please use the repository on Bintray.

Build with Gradle:

--------------------------------------
./gradlew build
--------------------------------------

Release with Gradle:

--------------------------------------
# you probably want to make these changes manually rather than like this
sed -i -e "s/^version = .*/version = 'x.y.z'/" build.gradle
echo -e "bintrayUser=pivotal-labs-london\nbintrayKey=..." >gradle.properties

./gradlew bintrayUpload
--------------------------------------

Document how to use the Bintray repo
Document how to use the Bintray repo
