@@ -145,13 +145,25 @@ $ make
145145When exposing new APIs to Java, you will need to run ` rust/bridge/jni/bin/gen_java_decl.py ` in
146146addition to rebuilding. This requires installing the ` cbindgen ` Rust tool, as detailed above.
147147
148- ### Maven Central
148+ ### Use as a library
149149
150- Signal publishes Java packages on [ Maven Central] ( https://central.sonatype.org ) for its own use,
151- under the names org.signal: libsignal-server , org.signal: libsignal-client , and
152- org.signal: libsignal-android . libsignal-client and libsignal-server contain native libraries for
153- Debian-flavored x86_64 Linux as well as Windows (x86_64) and macOS (x86_64 and arm64).
154- libsignal-android contains native libraries for armeabi-v7a, arm64-v8a, x86, and x86_64 Android.
150+ Signal publishes Java packages for its own use, under the names org.signal: libsignal-server ,
151+ org.signal: libsignal-client , and org.signal: libsignal-android . libsignal-client and libsignal-server
152+ contain native libraries for Debian-flavored x86_64 Linux as well as Windows (x86_64) and macOS
153+ (x86_64 and arm64). libsignal-android contains native libraries for armeabi-v7a, arm64-v8a, x86, and
154+ x86_64 Android. These are located in a Maven repository at
155+ https://build-artifacts.signal.org/libraries/maven/ ; for use from Gradle, add the following to your
156+ ` repositories ` block:
157+
158+ ```
159+ maven {
160+ name = "SignalBuildArtifacts"
161+ // The "uri()" part is only necessary for Kotlin Gradle; Groovy Gradle accepts a bare string here.
162+ url = uri("https://build-artifacts.signal.org/libraries/maven/")
163+ }
164+ ```
165+
166+ Older builds were published to [ Maven Central] ( https://central.sonatype.org ) instead.
155167
156168When building for Android you need * both* libsignal-android and libsignal-client, but the Windows
157169and macOS libraries in libsignal-client won't automatically be excluded from your final app. You can
0 commit comments