Installing the Java SDK
Installing from Maven Central
The Java SDK is available as a package on Maven Central.
- Maven
- Gradle
To install with Maven, add the following to your pom.xml file:
<dependency>
<groupId>io.appflags</groupId>
<artifactId>appflags-sdk-java</artifactId>
<version>LATEST</version>
</dependency>
info
Replace LATEST
with the latest version from Maven Central to lock down to an SDK version rather than automatically pulling the latest version.
To install with Gradle, add the following to your build.gradle file:
implementation 'io.appflags:appflags-sdk-java:+'
info
Replace the +
with the latest version from Maven Central to lock down to an SDK version rather than automatically pulling the latest version.
Compatability
The AppFlags Java SDK is compatible with Java 8 and above.