}
java {
- sourceCompatibility = JavaVersion.VERSION_11
- targetCompatibility = JavaVersion.VERSION_11
+ sourceCompatibility = JavaVersion.VERSION_17
+ targetCompatibility = JavaVersion.VERSION_17
}
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_66")
+ implementation("com.fasterxml.jackson.core", "jackson-databind", "2.14.1")
+ implementation("com.google.protobuf", "protobuf-javalite", "3.21.12")
+ implementation("org.bouncycastle", "bcprov-jdk15on", "1.70")
+ implementation("org.slf4j", "slf4j-api", "2.0.6")
+ implementation("org.xerial", "sqlite-jdbc", "3.40.1.0")
+ implementation("com.zaxxer", "HikariCP", "5.0.1")
+
+ testImplementation("org.junit.jupiter", "junit-jupiter", "5.9.2")
+}
+
+tasks.named<Test>("test") {
+ useJUnitPlatform()
}
configurations {
}
}
+tasks.withType<AbstractArchiveTask>().configureEach {
+ isPreserveFileTimestamps = false
+ isReproducibleFileOrder = true
+}
+
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
+
+tasks.jar {
+ manifest {
+ attributes("Automatic-Module-Name" to "org.asamk.signal.manager")
+ }
+}