The Java library used by RD can be used as a dependency in your Java project to call Rundeck APIs.

Published to Bintray

Currently the library is published to Bintray (jcenter/maven central TBD).

See: https://bintray.com/rundeck/maven/rd-api-client

Javadoc:

Gradle usage

A demo project can be seen here: https://github.com/gschueler/rd-api-demo

//use bintray maven repo
repositories {
    //available in jcenter
    jcenter()
    //or directly from bintray 
    maven { 
        url "https://rundeck.bintray.com/maven" 
    }
}

dependencies {
    compile "org.rundeck.api:rd-api-client:1.2.4"
}