From 0a82c51b7937df9195501e61266d28756472420b Mon Sep 17 00:00:00 2001 From: AsamK Date: Fri, 19 Apr 2024 17:13:25 +0200 Subject: [PATCH] Update dependencies --- graalvm-config-dir/jni-config.json | 12 ++++++++++++ settings.gradle.kts | 10 +++++----- src/main/java/org/asamk/signal/BaseConfig.java | 2 +- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/graalvm-config-dir/jni-config.json b/graalvm-config-dir/jni-config.json index d7667b09c..5fed7404c 100644 --- a/graalvm-config-dir/jni-config.json +++ b/graalvm-config-dir/jni-config.json @@ -89,6 +89,18 @@ "name":"org.signal.libsignal.net.CdsiLookupResponse$Entry", "methods":[{"name":"","parameterTypes":["byte[]","byte[]"] }] }, +{ + "name":"org.signal.libsignal.net.ChatService" +}, +{ + "name":"org.signal.libsignal.net.ChatService$DebugInfo" +}, +{ + "name":"org.signal.libsignal.net.ChatService$Response" +}, +{ + "name":"org.signal.libsignal.net.ChatService$ResponseAndDebugInfo" +}, { "name":"org.signal.libsignal.protocol.DuplicateMessageException", "methods":[{"name":"","parameterTypes":["java.lang.String"] }] diff --git a/settings.gradle.kts b/settings.gradle.kts index 8ef7a6e99..cf3245025 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -6,17 +6,17 @@ dependencyResolutionManagement { versionCatalogs { create("libs") { - library("bouncycastle", "org.bouncycastle", "bcprov-jdk18on").version("1.78") + library("bouncycastle", "org.bouncycastle", "bcprov-jdk18on").version("1.78.1") library("jackson.databind", "com.fasterxml.jackson.core", "jackson-databind").version("2.17.0") library("argparse4j", "net.sourceforge.argparse4j", "argparse4j").version("0.9.0") library("dbusjava", "com.github.hypfvieh", "dbus-java-transport-native-unixsocket").version("5.0.0") - version("slf4j", "2.0.12") + version("slf4j", "2.0.13") library("slf4j.api", "org.slf4j", "slf4j-api").versionRef("slf4j") library("slf4j.jul", "org.slf4j", "jul-to-slf4j").versionRef("slf4j") - library("logback", "ch.qos.logback", "logback-classic").version("1.5.3") + library("logback", "ch.qos.logback", "logback-classic").version("1.5.6") - library("signalservice", "com.github.turasa", "signal-service-java").version("2.15.3_unofficial_100") - library("sqlite", "org.xerial", "sqlite-jdbc").version("3.45.2.0") + library("signalservice", "com.github.turasa", "signal-service-java").version("2.15.3_unofficial_101") + library("sqlite", "org.xerial", "sqlite-jdbc").version("3.45.3.0") library("hikari", "com.zaxxer", "HikariCP").version("5.1.0") library("junit.jupiter", "org.junit.jupiter", "junit-jupiter").version("5.10.2") library("junit.launcher", "org.junit.platform", "junit-platform-launcher").version("1.10.2") diff --git a/src/main/java/org/asamk/signal/BaseConfig.java b/src/main/java/org/asamk/signal/BaseConfig.java index 8a0ddc066..060a2664f 100644 --- a/src/main/java/org/asamk/signal/BaseConfig.java +++ b/src/main/java/org/asamk/signal/BaseConfig.java @@ -8,7 +8,7 @@ public class BaseConfig { public static final String PROJECT_VERSION = BaseConfig.class.getPackage().getImplementationVersion(); static final String USER_AGENT_SIGNAL_ANDROID = Optional.ofNullable(System.getenv("SIGNAL_CLI_USER_AGENT")) - .orElse("Signal-Android/7.2.0"); + .orElse("Signal-Android/7.5.0"); static final String USER_AGENT_SIGNAL_CLI = PROJECT_NAME == null ? "signal-cli" : PROJECT_NAME + "/" + PROJECT_VERSION;