mirror of
https://github.com/Nexoniarz/NexoPass.git
synced 2026-11-03 04:24:28 +00:00
Fix the single-jar Linux build: drop Bouncy Castle signature files
Merged into one jar their signatures no longer match and Java refused to start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
987cea431f
commit
94d43ce77a
4 changed files with 11 additions and 5 deletions
|
|
@ -76,3 +76,9 @@ compose.desktop {
|
|||
buildTypes.release.proguard { isEnabled.set(false) }
|
||||
}
|
||||
}
|
||||
|
||||
// Bouncy Castle jars are signed; merged into one jar those signatures no
|
||||
// longer match and Java refuses to start. The single jar doesn't need them.
|
||||
tasks.matching { it.name.startsWith("packageUberJar") || it.name.startsWith("packageReleaseUberJar") }.configureEach {
|
||||
(this as org.gradle.jvm.tasks.Jar).exclude("META-INF/*.SF", "META-INF/*.DSA", "META-INF/*.RSA", "META-INF/*.EC")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue