<commit_before>---
layout: page
title: Java API Library
permalink: /javalib/
---

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:
* [rd-api-client ![javadoc](https://javadoc.io/badge2/org.rundeck.api/rd-api-client/javadoc.svg)](https://javadoc.io/doc/org.rundeck.api/rd-api-client)

## Gradle usage

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

~~~{groovy}
//use bintray maven repo
repositories {
    //available in jcenter
    jcenter()
    //or directly from bintray 
    maven { 
        url "https://rundeck.bintray.com/maven" 
    }
}<commit_msg>update api lib instructions<commit_after>---
layout: page
title: Java API Library
permalink: /javalib/
---

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

## Javadoc

[rd-api-client ![javadoc](https://javadoc.io/badge2/org.rundeck.api/rd-api-client/javadoc.svg)](https://javadoc.io/doc/org.rundeck.api/rd-api-client)

## Gradle usage

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

~~~{groovy}
//use bintray maven repo
repositories {
    mavenCentral()
}
{'fraction_non_alphanumeric': 0.1375186846038864, 'fraction_numerical': 0.0014947683109118087, 'mean_word_length': 3.617241379310345, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2077530', 'n_tokens_mistral': 508, 'n_tokens_neox': 464, 'n_words': 126}