GP-5901: Fixing Gradle 9 archive file permissions

This commit is contained in:
Ryan Kurtz 2025-08-18 06:24:49 -04:00
parent 2ca382da7d
commit 465fba743b
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
# Increase maximum Gradle heap size (default is 1G)
# And fix build in locales with non-default capitalizations (e.g. tr_TR)
org.gradle.jvmargs=-Xmx2G -Duser.language=en -Duser.country=US
# Preserve file system permisisons in archives (Gradle 9 uses fixed permissions by default)
org.gradle.archives.use-file-system-permissions=true

2
gradlew vendored
View file

@ -128,7 +128,7 @@ fi
# Read application properties
while IFS='=' read -r key value
do
key=$(echo $key | tr '.' '_')
key=$(echo $key | tr '.-' '_')
eval ${key}=\${value}
done < "${GHIDRA_HOME}/Ghidra/application.properties"