mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-31 23:15:07 +08:00
GP-4486: Adding Gradle wrapper
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user