Document building of macOS headless jars and fix included native binaries on macOS

This commit is contained in:
Sebastian Kürten
2023-06-15 18:07:18 +02:00
parent 57f7501780
commit 3a0f8ed85c
3 changed files with 11 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ void jarFactory(Jar jarTask, os, architecture, configuration) {
}
{
it.duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
if (os == "linux") {
if (os == "linux" || os == "macos") {
String[] architectures = [
"aarch64",
"armhf",
@@ -107,6 +107,7 @@ void jarFactory(Jar jarTask, os, architecture, configuration) {
exclude arch + "/obfs4proxy"
exclude arch + "/tor"
exclude arch + "/snowflake"
exclude arch + "/libevent-*.dylib"
}
}
}