Add libsignal_client_path property to override libsignal-client jar fiel

This commit is contained in:
AsamK 2023-09-23 12:37:23 +02:00
parent 67747253e8
commit 73b4239744

View file

@ -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)