Eppo is a feature management and experimentation platform. This SDK enables feature flagging and experimentation for Eppo customers. An API key is required to use it.
dependencies {
implementation 'cloud.eppo:android-sdk:4.10.1'
}
dependencyResolutionManagement {
repositories {
mavenCentral()
maven {
url "https://central.sonatype.com/repository/maven-snapshots/"
}
}
}
Snapshots of the development version are available in Maven Central's snapshots repository.
You can simply draft a new release on GitHub and then CI will take care of the rest.
For publishing a release locally, instead, follow the steps below.
- Generate a user token on
central.sonatype.com
; - Configure a GPG key for signing the artifact. Don't forget to upload it to the key server;
- Make sure you have the following vars in your
~/.gradle/gradle.properties
file:mavenCentralUsername
- User token username for Central Portal generated in step 1mavenCentralPassword
- User token password for Central Portal generated in step 1signing.keyId
- GPG key ID generated in step 2signing.password
- GPG key password generated in step 2signing.secretKeyRingFile
- Path to GPG key file generated in step 2
Once you have the prerequisites, follow the steps below to release a new version:
- Bump the project version in
build.gradle
- Run
./gradlew eppo:publish -Prelease
or./gradlew eppo:publish -Psnapshot
- For releases, run
./gradlew eppo:publishAndReleaseToMavenCentral -Prelease
to automatically release to Maven Central
For information on usage, refer to our SDK Documentation.