2. Setting up a client

2.1. Supported platforms

Halcyon library can be used on different platforms:

  • JVM

  • Android

  • JavaScript

2.2. Adding client dependencies

To use Halcyon library in your project you have to configure repositories and add library dependency. All versions of library are available in Tigase Maven repository:

Production
repositories {
    maven("https://maven-repo.tigase.org/repository/release/")
}
Snapshot
repositories {
    maven("https://maven-repo.tigase.org/repository/snapshot/")
}

At the end, you have to add dependency to tigase.halcyon:halcyon-core artifact:

implementation("tigase.halcyon:halcyon-core:$halcyon_version")

Where $halcyon_version is required Halcyon version.