Opsgenie Java API for Maven and Gradle

Java SDK with version 2.0.0 or later, can be added to maven and gradle projects.

Maven

You can add opsgenie repository and sdk as dependency. Example:

<dependencies>
    <dependency>
        <groupId>com.opsgenie.integration</groupId>
        <artifactId>sdk</artifactId>
        <version>[2.0.0,)</version>
    </dependency>
</dependencies>

Maven gets the latest version of Java SDK for this configuration. We suggest to use the latest version.

Gradle

You can add opsgenie repository and sdk as dependency. Example:

dependencies {
    compile "com.opsgenie.integration:sdk:2+"
}

Gradle gets the latest version of Java SDK for this configuration. We suggest to use the latest version.

Opsgenie Java API for Maven and Gradle


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.