From f487af5b0c85ee95f43353428a181e84f89f9f91 Mon Sep 17 00:00:00 2001 From: AsamK Date: Sun, 28 Nov 2021 16:56:05 +0100 Subject: [PATCH] Add Automatic-Module-Name for manager lib --- graalvm-config-dir/reflect-config.json | 28 ++++++++++++++++++++++++++ lib/build.gradle.kts | 6 ++++++ 2 files changed, 34 insertions(+) diff --git a/graalvm-config-dir/reflect-config.json b/graalvm-config-dir/reflect-config.json index 707b0982..94182c11 100644 --- a/graalvm-config-dir/reflect-config.json +++ b/graalvm-config-dir/reflect-config.json @@ -1243,6 +1243,34 @@ "name":"org.bouncycastle.jcajce.provider.symmetric.Zuc$Mappings", "methods":[{"name":"","parameterTypes":[] }]} , +{ + "name":"org.bouncycastle.pqc.jcajce.provider.LMS$Mappings", + "methods":[{"name":"","parameterTypes":[] }]} +, +{ + "name":"org.bouncycastle.pqc.jcajce.provider.McEliece$Mappings", + "methods":[{"name":"","parameterTypes":[] }]} +, +{ + "name":"org.bouncycastle.pqc.jcajce.provider.NH$Mappings", + "methods":[{"name":"","parameterTypes":[] }]} +, +{ + "name":"org.bouncycastle.pqc.jcajce.provider.QTESLA$Mappings", + "methods":[{"name":"","parameterTypes":[] }]} +, +{ + "name":"org.bouncycastle.pqc.jcajce.provider.Rainbow$Mappings", + "methods":[{"name":"","parameterTypes":[] }]} +, +{ + "name":"org.bouncycastle.pqc.jcajce.provider.SPHINCS$Mappings", + "methods":[{"name":"","parameterTypes":[] }]} +, +{ + "name":"org.bouncycastle.pqc.jcajce.provider.XMSS$Mappings", + "methods":[{"name":"","parameterTypes":[] }]} +, { "name":"org.freedesktop.dbus.errors.ServiceUnknown", "methods":[{"name":"","parameterTypes":["java.lang.String"] }]} diff --git a/lib/build.gradle.kts b/lib/build.gradle.kts index 73a0e559..8e278ef4 100644 --- a/lib/build.gradle.kts +++ b/lib/build.gradle.kts @@ -35,3 +35,9 @@ tasks.withType().configureEach { tasks.withType { options.encoding = "UTF-8" } + +tasks.jar { + manifest { + attributes("Automatic-Module-Name" to "org.asamk.signal.manager") + } +}