Add support for building libsignal from source
This commit is contained in:
parent
a5898ecd6e
commit
879a8f7b85
2
gradle.properties
Normal file
2
gradle.properties
Normal file
@ -0,0 +1,2 @@
|
||||
# Uncomment this to build libsignal from source.
|
||||
# libsignalClientPath=../libsignal
|
||||
10
settings.gradle.kts
Normal file
10
settings.gradle.kts
Normal file
@ -0,0 +1,10 @@
|
||||
// To build libsignal from source, set the libsignalClientPath property in gradle.properties.
|
||||
val libsignalClientPath = if (extra.has("libsignalClientPath")) extra.get("libsignalClientPath") else null
|
||||
if (libsignalClientPath is String) {
|
||||
includeBuild(rootDir.resolve(libsignalClientPath + "/java")) {
|
||||
name = "libsignal-client"
|
||||
dependencySubstitution {
|
||||
substitute(module("org.signal:libsignal-client")).using(project(":client"))
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user