X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/a4e34e600e9b00b7ff24937c8262c8447a4bdae2..f487af5b0c85ee95f43353428a181e84f89f9f91:/lib/build.gradle.kts diff --git a/lib/build.gradle.kts b/lib/build.gradle.kts index 327d1538..8e278ef4 100644 --- a/lib/build.gradle.kts +++ b/lib/build.gradle.kts @@ -4,8 +4,8 @@ plugins { } java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } repositories { @@ -14,10 +14,11 @@ repositories { } dependencies { - api("com.github.turasa:signal-service-java:2.15.3_unofficial_20") - implementation("com.google.protobuf:protobuf-javalite:3.10.0") - implementation("org.bouncycastle:bcprov-jdk15on:1.68") - implementation("org.slf4j:slf4j-api:1.7.30") + implementation("com.github.turasa:signal-service-java:2.15.3_unofficial_34") + api("com.fasterxml.jackson.core", "jackson-databind", "2.13.0") + implementation("com.google.protobuf:protobuf-javalite:3.11.4") + implementation("org.bouncycastle:bcprov-jdk15on:1.69") + implementation("org.slf4j:slf4j-api:1.7.32") } configurations { @@ -26,6 +27,17 @@ configurations { } } +tasks.withType().configureEach { + isPreserveFileTimestamps = false + isReproducibleFileOrder = true +} + tasks.withType { options.encoding = "UTF-8" } + +tasks.jar { + manifest { + attributes("Automatic-Module-Name" to "org.asamk.signal.manager") + } +}