Maven and Gradle configuration

The client JARs are located in the JCenter Maven repository. You need to configure your build tool appropriately.

Configuring Gradle

In gradle.properties:

eventuateClientVersion=0.16.0.RELEASE
eventuateLocalVersion=0.11.0.RELEASE

In build.gradle, specify the JCenter maven repository:

repositories {
    mavenCentral()
    jcenter()
}

In build.gradle, specify a dependency on the Java Client library, which provides the API:

dependencies { compile “io.eventuate.client.java:eventuate-client-java-spring:$eventuateClientVersion” }

There are three different implementations of Eventuate.

### Eventuate SaaS

If you want to use the real event store then add this dependency:

dependencies { compile “io.eventuate.client.java:eventuate-client-java-http-stomp-spring:$eventuateClientVersion” }


Note: You will need to [signup for Eventuate](https://signup.eventuate.io/) and get credentials.

### Eventuate Local edition

To use the [open-source, RDBMS/Kafka version](https://github.com/eventuate-local/eventuate-local) then specify:

dependencies { compile “io.eventuate.local.java:eventuate-local-java-jdbc:${eventuateLocalVersion}” compile “io.eventuate.local.java:eventuate-local-java-embedded-cdc-autoconfigure:${eventuateLocalVersion}” }


### Test support

If you are writing integration tests that you should use the embedded JDBC-based test version:

dependencies { testCompile “io.eventuate.client.java:eventuate-client-java-jdbc:$eventuateClientVersion” }


# Configuring Maven

Specify the JCenter Repository:

jcenter http://jcenter.bintray.com

Specify the client library version:

0.16.0.RELEASE 0.11.0.RELEASE

Specify a dependency on the Java Client library, which provides the API:

io.eventuate.client.java eventuate-client-java-spring ${eventuateClientVersion}

There are three different implementations of Eventuate.

### Eventuate SaaS

io.eventuate.client.java eventuate-client-java-http-stomp-spring ${eventuateClientVersion}

Note: You will need to [signup for Eventuate](https://signup.eventuate.io/) and get credentials.

### Eventuate Local edition

To use the [open-source, RDBMS/Kafka version](https://github.com/eventuate-local/eventuate-local) then specify:

io.eventuate.local.java eventuate-local-java-jdbc ${eventuateLocalVersion} io.eventuate.local.java eventuate-local-java-embedded-cdc-autoconfigure ${eventuateLocalVersion}

### Eventuate test support

Or, on the embedded test event store:

io.eventuate.client.java eventuate-client-java-jdbc ${eventuateClientVersion}

```


Stay in touch
Copyright © 2016 Eventuate, Inc • All rights reserved.