mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
upgrade to pgpainless 1.6.7 with basic modules support
This commit is contained in:
parent
6ea6f4b5d2
commit
c108741b6f
3 changed files with 4 additions and 14 deletions
14
build.gradle
14
build.gradle
|
@ -248,6 +248,8 @@ jlink {
|
||||||
"--add-reads=com.sparrowwallet.merged.module=com.fasterxml.jackson.annotation",
|
"--add-reads=com.sparrowwallet.merged.module=com.fasterxml.jackson.annotation",
|
||||||
"--add-reads=com.sparrowwallet.merged.module=com.fasterxml.jackson.core",
|
"--add-reads=com.sparrowwallet.merged.module=com.fasterxml.jackson.core",
|
||||||
"--add-reads=com.sparrowwallet.merged.module=co.nstant.in.cbor",
|
"--add-reads=com.sparrowwallet.merged.module=co.nstant.in.cbor",
|
||||||
|
"--add-reads=com.sparrowwallet.merged.module=org.bouncycastle.pg",
|
||||||
|
"--add-reads=com.sparrowwallet.merged.module=org.bouncycastle.provider",
|
||||||
"--add-reads=kotlin.stdlib=kotlinx.coroutines.core"]
|
"--add-reads=kotlin.stdlib=kotlinx.coroutines.core"]
|
||||||
|
|
||||||
if(os.windows) {
|
if(os.windows) {
|
||||||
|
@ -705,18 +707,6 @@ extraJavaModuleInfo {
|
||||||
module('jcommander-1.81.jar', 'com.beust.jcommander', '1.81') {
|
module('jcommander-1.81.jar', 'com.beust.jcommander', '1.81') {
|
||||||
exports('com.beust.jcommander')
|
exports('com.beust.jcommander')
|
||||||
}
|
}
|
||||||
module('pgpainless-core-1.6.6.jar', 'org.pgpainless.core', '1.6.6') {
|
|
||||||
exports('org.pgpainless')
|
|
||||||
exports('org.pgpainless.key')
|
|
||||||
exports('org.pgpainless.key.parsing')
|
|
||||||
exports('org.pgpainless.decryption_verification')
|
|
||||||
exports('org.pgpainless.exception')
|
|
||||||
exports('org.pgpainless.signature')
|
|
||||||
exports('org.pgpainless.util')
|
|
||||||
requires('org.bouncycastle.provider')
|
|
||||||
requires('org.bouncycastle.pg')
|
|
||||||
requires('org.slf4j')
|
|
||||||
}
|
|
||||||
module('jzlib-1.1.3.jar', 'com.jcraft.jzlib', '1.1.3') {
|
module('jzlib-1.1.3.jar', 'com.jcraft.jzlib', '1.1.3') {
|
||||||
exports('com.jcraft.jzlib')
|
exports('com.jcraft.jzlib')
|
||||||
}
|
}
|
||||||
|
|
|
@ -143,7 +143,7 @@ abstract public class ExtraModuleInfoTransform implements TransformAction<ExtraM
|
||||||
private static void copyEntries(JarInputStream inputStream, JarOutputStream outputStream) throws IOException {
|
private static void copyEntries(JarInputStream inputStream, JarOutputStream outputStream) throws IOException {
|
||||||
JarEntry jarEntry = inputStream.getNextJarEntry();
|
JarEntry jarEntry = inputStream.getNextJarEntry();
|
||||||
while (jarEntry != null) {
|
while (jarEntry != null) {
|
||||||
if(!jarEntry.getName().equals("module-info.class") && !jarEntry.getName().equals("org/bouncycastle/CachingBcPublicKeyDataDecryptorFactory.class")) {
|
if(!jarEntry.getName().equals("module-info.class")) {
|
||||||
outputStream.putNextEntry(jarEntry);
|
outputStream.putNextEntry(jarEntry);
|
||||||
outputStream.write(inputStream.readAllBytes());
|
outputStream.write(inputStream.readAllBytes());
|
||||||
outputStream.closeEntry();
|
outputStream.closeEntry();
|
||||||
|
|
2
drongo
2
drongo
|
@ -1 +1 @@
|
||||||
Subproject commit 3b8435ca37d00d370d859fa9dbc1631d3cdcae45
|
Subproject commit 9872c6b6ecfa6f5d14cd2edcb5605b76e9cb7396
|
Loading…
Reference in a new issue