update to v0.18.1

This commit is contained in:
finn 2022-08-02 15:08:29 -07:00
parent 44fee7f025
commit b7995bc7b3
2 changed files with 13 additions and 15 deletions

View file

@ -3,7 +3,7 @@ stages:
- bindings
variables:
libsignal_version: "v0.17.0"
libsignal_version: "e54685b281f22b58ef7489b9a86339768bad5a33" # v0.18.1 isn't tagged so we have to use the commit hash
GRADLE_OPTS: -Dorg.gradle.daemon=false
.multitarget:

View file

@ -1,19 +1,19 @@
From 89b9e3fd15bbb5241e3327446a2c63de7afddf32 Mon Sep 17 00:00:00 2001
From ba6c862c64068882477292e5b3a798604a26c3c3 Mon Sep 17 00:00:00 2001
From: signald <nobody@signald.org>
Date: Thu, 16 Jun 2022 12:48:11 -0700
Date: Tue, 2 Aug 2022 15:07:16 -0700
Subject: [PATCH] update build files
---
java/build.gradle | 9 +--------
java/client/build.gradle | 30 ++++++++++--------------------
java/client/build.gradle | 30 ++++++++----------------------
java/settings.gradle | 11 +----------
3 files changed, 12 insertions(+), 38 deletions(-)
3 files changed, 10 insertions(+), 40 deletions(-)
diff --git a/java/build.gradle b/java/build.gradle
index 1f6dba0a..75f5ee09 100644
index 2f9e3915..cbf85f28 100644
--- a/java/build.gradle
+++ b/java/build.gradle
@@ -6,7 +6,7 @@ def version_number = "0.17.0"
@@ -6,7 +6,7 @@ def version_number = "0.18.1"
subprojects {
ext.version_number = version_number
@ -22,7 +22,7 @@ index 1f6dba0a..75f5ee09 100644
if (JavaVersion.current().isJava8Compatible()) {
allprojects {
@@ -31,13 +31,6 @@ task makeJniLibrariesDesktop(type:Exec) {
@@ -37,13 +37,6 @@ task makeJniLibrariesDesktop(type:Exec) {
commandLine './build_jni.sh', 'desktop'
}
@ -37,7 +37,7 @@ index 1f6dba0a..75f5ee09 100644
group 'Rust'
commandLine 'cargo', 'clean'
diff --git a/java/client/build.gradle b/java/client/build.gradle
index 7ee6b154..3b3d5fdf 100644
index 7ee6b154..ededcff2 100644
--- a/java/client/build.gradle
+++ b/java/client/build.gradle
@@ -1,7 +1,6 @@
@ -48,7 +48,7 @@ index 7ee6b154..3b3d5fdf 100644
}
sourceCompatibility = 1.8
@@ -46,23 +45,14 @@ java {
@@ -46,23 +45,12 @@ java {
withJavadocJar()
}
@ -62,8 +62,7 @@ index 7ee6b154..3b3d5fdf 100644
- }
- }
-}
+
-
// MARK: Publishing
publishing {
@ -74,7 +73,7 @@ index 7ee6b154..3b3d5fdf 100644
from components.java
pom {
@@ -93,16 +83,16 @@ publishing {
@@ -93,16 +81,14 @@ publishing {
}
repositories {
maven {
@ -93,12 +92,11 @@ index 7ee6b154..3b3d5fdf 100644
}
}
}
-
-signing {
- required { isReleaseBuild() && gradle.taskGraph.hasTask(":client:publish") }
- sign publishing.publications.mavenJava
-}
+
diff --git a/java/settings.gradle b/java/settings.gradle
index f6414646..34cf9276 100644
--- a/java/settings.gradle