Skip to content

Commit

Permalink
Add libsignal_client_path property to override libsignal-client jar fiel
Browse files Browse the repository at this point in the history
  • Loading branch information
AsamK committed Sep 23, 2023
1 parent 6774725 commit 73b4239
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 73b4239

Please sign in to comment.