GP-4486: Adding Gradle wrapper

This commit is contained in:
Ryan Kurtz
2024-07-03 08:04:27 -04:00
parent 0e33958c76
commit 78aadd0d8c
13 changed files with 457 additions and 100 deletions
+13 -9
View File
@@ -346,14 +346,6 @@ task assembleDistribution (type: Copy) {
into "Ghidra/patch"
}
/////////////////////////////////
// Distro native build support
/////////////////////////////////
from (ROOT_PROJECT_DIR + "/GPL") {
include "settings.gradle"
into "Ghidra"
}
/////////////////////////////////
// Eclipse formatters
/////////////////////////////////
@@ -400,7 +392,19 @@ project.PLATFORMS.each { platform ->
// Make sure that we don't try to copy the same file with the same path into the
// zip (this can happen!)
duplicatesStrategy 'exclude'
/////////////////////////////////
// Gradle Wrapper
/////////////////////////////////
from (ROOT_PROJECT_DIR) {
if (isLinux(platform.name) || isMac(platform.name)) {
include "gradlew"
}
if (isWindows(platform.name)) {
include "gradlew.bat"
}
into "support/gradle"
}
}
}