X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/c72aeed8bba4d5ca873b36b4edb2b8eda9c24ec7..2e8e81a926acd1e18829e280fbf5161cb0947ccc:/lib/build.gradle.kts diff --git a/lib/build.gradle.kts b/lib/build.gradle.kts index 5eb6c9b4..855d73f8 100644 --- a/lib/build.gradle.kts +++ b/lib/build.gradle.kts @@ -1,10 +1,11 @@ plugins { `java-library` + `check-lib-versions` } java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } repositories { @@ -13,10 +14,13 @@ repositories { } dependencies { - api("com.github.turasa:signal-service-java:2.15.3_unofficial_18") - 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_56") + implementation("com.fasterxml.jackson.core", "jackson-databind", "2.13.3") + implementation("com.google.protobuf", "protobuf-javalite", "3.11.4") + implementation("org.bouncycastle", "bcprov-jdk15on", "1.70") + implementation("org.slf4j", "slf4j-api", "2.0.0") + implementation("org.xerial", "sqlite-jdbc", "3.39.2.1") + implementation("com.zaxxer", "HikariCP", "5.0.1") } configurations { @@ -25,6 +29,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") + } +}