Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.rohacompany:xabber-android:'
}
dependencies {
implementation("com.github.rohacompany:xabber-android:")
}
<dependency>
<groupId>com.github.rohacompany</groupId>
<artifactId>xabber-android</artifactId>
<version></version>
</dependency>
libraryDependencies += "com.github.rohacompany" % "xabber-android" % ""
:dependencies [[com.github.rohacompany/xabber-android ""]]
Open source Jabber (XMPP) client with multi-account support, clean and simple interface. Being both free (as in freedom!) and ad-free, Xabber is designed to be the best Jabber client for Android.
Xabber uses Gradle build system. The only specific thing is git submodule for otr4j library. To make it work use following commands:
::
git submodule init
git submodule update
And otr4j would be cloned to your local repository.
We use crowdin.com as our translation system. All related resources are automatically generated from files got with crowdin.com. If you want to update any translation go to Xabber page https://crowdin.com/project/xabber and request to join our translation team Please don't create pull requests with translation fixes as any changes will be overwritten with the next update from crowdin.com.
Visit our wiki pages for additional information: https://github.com/redsolution/xabber-android/wiki