mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
Add libsignal_client_path property to override libsignal-client jar fiel
This commit is contained in:
parent
67747253e8
commit
73b4239744
1 changed files with 10 additions and 1 deletions
|
@ -8,8 +8,17 @@ java {
|
|||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
val libsignalClientPath = project.findProperty("libsignal_client_path")?.toString()
|
||||
|
||||
dependencies {
|
||||
implementation(libs.signalservice)
|
||||
if (libsignalClientPath == null) {
|
||||
implementation(libs.signalservice)
|
||||
} else {
|
||||
implementation(libs.signalservice) {
|
||||
exclude(group = "org.signal", module = "libsignal-client")
|
||||
}
|
||||
implementation(files(libsignalClientPath))
|
||||
}
|
||||
implementation(libs.jackson.databind)
|
||||
implementation(libs.protobuf)
|
||||
implementation(libs.bouncycastle)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue