From 68f532627ce2f425bd84f8f4e7bc40b076325260 Mon Sep 17 00:00:00 2001 From: Elliott Childre Date: Mon, 13 Apr 2020 13:51:06 -0400 Subject: [PATCH] Add Gradle Wrapper to exclude from extension build Gradle Wrapper: https://docs.gradle.org/current/userguide/gradle_wrapper.html Is "recommended way to execute any Gradle build" so more and more extensions have the wrapper files in the repository. They serve no purpose once built, so ignore it from the zip. --- Ghidra/RuntimeScripts/Common/support/buildExtension.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Ghidra/RuntimeScripts/Common/support/buildExtension.gradle b/Ghidra/RuntimeScripts/Common/support/buildExtension.gradle index a8657a9b5a..fd387d7827 100644 --- a/Ghidra/RuntimeScripts/Common/support/buildExtension.gradle +++ b/Ghidra/RuntimeScripts/Common/support/buildExtension.gradle @@ -92,6 +92,10 @@ task buildExtension (type: Zip) { exclude '.settings/**' exclude 'developer_scripts' exclude '.antProperties.xml' + exclude 'gradlew' + exclude 'gradlew.bat' + exclude 'gradle/wrapper/gradle-wrapper.jar' + exclude 'gradle/wrapper/gradle-wrapper.properties' into pathInZip }