]> nmode's Git Repositories - signal-cli/blobdiff - lib/build.gradle.kts
Add Automatic-Module-Name for manager lib
[signal-cli] / lib / build.gradle.kts
index c12ad0a46f0c7e6f0794a5f1aedc9071ff024792..8e278ef412cc1d043b0941059ef790c2930ac881 100644 (file)
@@ -14,9 +14,9 @@ repositories {
 }
 
 dependencies {
-    api("com.github.turasa:signal-service-java:2.15.3_unofficial_31")
+    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.10.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")
 }
@@ -35,3 +35,9 @@ tasks.withType<AbstractArchiveTask>().configureEach {
 tasks.withType<JavaCompile> {
     options.encoding = "UTF-8"
 }
+
+tasks.jar {
+    manifest {
+        attributes("Automatic-Module-Name" to "org.asamk.signal.manager")
+    }
+}