Update dependencies

This commit is contained in:
AsamK 2022-11-07 19:43:15 +01:00
parent 6281cbfd5f
commit ccb37c00f6
3 changed files with 7 additions and 7 deletions

View file

@ -3,7 +3,7 @@ plugins {
application application
eclipse eclipse
`check-lib-versions` `check-lib-versions`
id("org.graalvm.buildtools.native") version "0.9.16" id("org.graalvm.buildtools.native") version "0.9.17"
} }
version = "0.11.4" version = "0.11.4"
@ -40,7 +40,7 @@ repositories {
dependencies { dependencies {
implementation("org.bouncycastle", "bcprov-jdk15on", "1.70") implementation("org.bouncycastle", "bcprov-jdk15on", "1.70")
implementation("com.fasterxml.jackson.core", "jackson-databind", "2.13.4.2") implementation("com.fasterxml.jackson.core", "jackson-databind", "2.14.0")
implementation("net.sourceforge.argparse4j", "argparse4j", "0.9.0") implementation("net.sourceforge.argparse4j", "argparse4j", "0.9.0")
implementation("com.github.hypfvieh", "dbus-java-transport-native-unixsocket", "4.2.1") implementation("com.github.hypfvieh", "dbus-java-transport-native-unixsocket", "4.2.1")
implementation("org.slf4j", "slf4j-api", "2.0.3") implementation("org.slf4j", "slf4j-api", "2.0.3")

View file

@ -14,15 +14,15 @@ repositories {
} }
dependencies { dependencies {
implementation("com.github.turasa", "signal-service-java", "2.15.3_unofficial_63") implementation("com.github.turasa", "signal-service-java", "2.15.3_unofficial_64")
implementation("com.fasterxml.jackson.core", "jackson-databind", "2.13.4.2") implementation("com.fasterxml.jackson.core", "jackson-databind", "2.14.0")
implementation("com.google.protobuf", "protobuf-javalite", "3.21.6") implementation("com.google.protobuf", "protobuf-javalite", "3.21.6")
implementation("org.bouncycastle", "bcprov-jdk15on", "1.70") implementation("org.bouncycastle", "bcprov-jdk15on", "1.70")
implementation("org.slf4j", "slf4j-api", "2.0.3") implementation("org.slf4j", "slf4j-api", "2.0.3")
implementation("org.xerial", "sqlite-jdbc", "3.39.3.0") implementation("org.xerial", "sqlite-jdbc", "3.39.4.0")
implementation("com.zaxxer", "HikariCP", "5.0.1") implementation("com.zaxxer", "HikariCP", "5.0.1")
testImplementation("org.junit.jupiter", "junit-jupiter", "5.9.0") testImplementation("org.junit.jupiter", "junit-jupiter", "5.9.1")
} }
tasks.named<Test>("test") { tasks.named<Test>("test") {

View file

@ -699,7 +699,7 @@ class ManagerImpl implements Manager {
byte[] receipt, String note, RecipientIdentifier.Single recipient byte[] receipt, String note, RecipientIdentifier.Single recipient
) throws IOException { ) throws IOException {
final var paymentNotification = new SignalServiceDataMessage.PaymentNotification(receipt, note); final var paymentNotification = new SignalServiceDataMessage.PaymentNotification(receipt, note);
final var payment = new SignalServiceDataMessage.Payment(paymentNotification); final var payment = new SignalServiceDataMessage.Payment(paymentNotification, null);
final var messageBuilder = SignalServiceDataMessage.newBuilder().withPayment(payment); final var messageBuilder = SignalServiceDataMessage.newBuilder().withPayment(payment);
try { try {
return sendMessage(messageBuilder, Set.of(recipient)); return sendMessage(messageBuilder, Set.of(recipient));